From b108740e33f4ee44f299e287f17f0c049e984fc5 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 8 Nov 2022 15:30:48 +0000 Subject: [PATCH] feat: Adds gRPC probe support to Cloud Run v2 API client libraries PiperOrigin-RevId: 486175948 Source-Link: https://github.com/googleapis/googleapis/commit/153e9592bb199fd55d800b0e7482eeb128ed8b25 Source-Link: https://github.com/googleapis/googleapis-gen/commit/bb74acdc8d3012dea0b94858363198542226fc01 Copy-Tag: eyJwIjoiamF2YS1ydW4vLk93bEJvdC55YW1sIiwiaCI6ImJiNzRhY2RjOGQzMDEyZGVhMGI5NDg1ODM2MzE5ODU0MjIyNmZjMDEifQ== --- .../google/cloud/run/v2/ExecutionsGrpc.java | 578 --- .../com/google/cloud/run/v2/JobsGrpc.java | 1210 ------ .../google/cloud/run/v2/RevisionsGrpc.java | 577 --- .../com/google/cloud/run/v2/ServicesGrpc.java | 1136 ------ .../com/google/cloud/run/v2/TasksGrpc.java | 448 --- .../google/cloud/run/v2/ConditionProto.java | 113 - .../google/cloud/run/v2/ExecutionProto.java | 252 -- .../cloud/run/v2/ExecutionTemplateProto.java | 109 - .../run/v2/GetExecutionRequestOrBuilder.java | 58 - .../cloud/run/v2/GetJobRequestOrBuilder.java | 56 - .../run/v2/GetRevisionRequestOrBuilder.java | 58 - .../run/v2/GetServiceRequestOrBuilder.java | 56 - .../cloud/run/v2/GetTaskRequestOrBuilder.java | 58 - .../com/google/cloud/run/v2/JobProto.java | 341 -- .../com/google/cloud/run/v2/K8sMinProto.java | 329 -- .../run/v2/ResourceRequirementsOrBuilder.java | 117 - .../google/cloud/run/v2/RevisionProto.java | 271 -- .../cloud/run/v2/RevisionTemplateProto.java | 136 - .../com/google/cloud/run/v2/ServiceProto.java | 337 -- .../run/v2/TCPSocketActionOrBuilder.java | 38 - .../com/google/cloud/run/v2/TaskProto.java | 258 -- .../cloud/run/v2/TaskTemplateProto.java | 99 - .../cloud/run/v2/TrafficTargetProto.java | 97 - .../cloud/run/v2/VendorSettingsProto.java | 113 - .../google/cloud/run/v2/ExecutionsClient.java | 18 +- .../cloud/run/v2/ExecutionsSettings.java | 1 + .../com/google/cloud/run/v2/JobsClient.java | 30 +- .../com/google/cloud/run/v2/JobsSettings.java | 1 + .../google/cloud/run/v2/RevisionsClient.java | 0 .../cloud/run/v2/RevisionsSettings.java | 1 + .../google/cloud/run/v2/ServicesClient.java | 32 +- .../google/cloud/run/v2/ServicesSettings.java | 1 + .../com/google/cloud/run/v2/TasksClient.java | 0 .../google/cloud/run/v2/TasksSettings.java | 1 + .../google/cloud/run/v2/gapic_metadata.json | 0 .../com/google/cloud/run/v2/package-info.java | 0 .../cloud/run/v2/stub/ExecutionsStub.java | 0 .../run/v2/stub/ExecutionsStubSettings.java | 0 .../stub/GrpcExecutionsCallableFactory.java | 0 .../cloud/run/v2/stub/GrpcExecutionsStub.java | 1 + .../run/v2/stub/GrpcJobsCallableFactory.java | 0 .../cloud/run/v2/stub/GrpcJobsStub.java | 1 + .../v2/stub/GrpcRevisionsCallableFactory.java | 0 .../cloud/run/v2/stub/GrpcRevisionsStub.java | 1 + .../v2/stub/GrpcServicesCallableFactory.java | 0 .../cloud/run/v2/stub/GrpcServicesStub.java | 1 + .../run/v2/stub/GrpcTasksCallableFactory.java | 0 .../cloud/run/v2/stub/GrpcTasksStub.java | 1 + .../HttpJsonExecutionsCallableFactory.java | 0 .../run/v2/stub/HttpJsonExecutionsStub.java | 1 + .../v2/stub/HttpJsonJobsCallableFactory.java | 0 .../cloud/run/v2/stub/HttpJsonJobsStub.java | 1 + .../HttpJsonRevisionsCallableFactory.java | 0 .../run/v2/stub/HttpJsonRevisionsStub.java | 1 + .../stub/HttpJsonServicesCallableFactory.java | 0 .../run/v2/stub/HttpJsonServicesStub.java | 1 + .../v2/stub/HttpJsonTasksCallableFactory.java | 0 .../cloud/run/v2/stub/HttpJsonTasksStub.java | 0 .../google/cloud/run/v2/stub/JobsStub.java | 0 .../cloud/run/v2/stub/JobsStubSettings.java | 0 .../cloud/run/v2/stub/RevisionsStub.java | 0 .../run/v2/stub/RevisionsStubSettings.java | 0 .../cloud/run/v2/stub/ServicesStub.java | 0 .../run/v2/stub/ServicesStubSettings.java | 0 .../google/cloud/run/v2/stub/TasksStub.java | 0 .../cloud/run/v2/stub/TasksStubSettings.java | 0 .../run/v2/ExecutionsClientHttpJsonTest.java | 0 .../cloud/run/v2/ExecutionsClientTest.java | 0 .../cloud/run/v2/JobsClientHttpJsonTest.java | 0 .../google/cloud/run/v2/JobsClientTest.java | 0 .../google/cloud/run/v2/MockExecutions.java | 0 .../cloud/run/v2/MockExecutionsImpl.java | 0 .../com/google/cloud/run/v2/MockJobs.java | 0 .../com/google/cloud/run/v2/MockJobsImpl.java | 0 .../google/cloud/run/v2/MockLocations.java | 0 .../cloud/run/v2/MockLocationsImpl.java | 0 .../google/cloud/run/v2/MockRevisions.java | 0 .../cloud/run/v2/MockRevisionsImpl.java | 0 .../com/google/cloud/run/v2/MockServices.java | 0 .../google/cloud/run/v2/MockServicesImpl.java | 0 .../com/google/cloud/run/v2/MockTasks.java | 0 .../google/cloud/run/v2/MockTasksImpl.java | 0 .../run/v2/RevisionsClientHttpJsonTest.java | 0 .../cloud/run/v2/RevisionsClientTest.java | 0 .../run/v2/ServicesClientHttpJsonTest.java | 0 .../cloud/run/v2/ServicesClientTest.java | 0 .../cloud/run/v2/TasksClientHttpJsonTest.java | 0 .../google/cloud/run/v2/TasksClientTest.java | 0 .../google/cloud/run/v2/ExecutionsGrpc.java | 475 +++ .../com/google/cloud/run/v2/JobsGrpc.java | 1003 +++++ .../google/cloud/run/v2/RevisionsGrpc.java | 475 +++ .../com/google/cloud/run/v2/ServicesGrpc.java | 925 +++++ .../com/google/cloud/run/v2/TasksGrpc.java | 389 ++ .../cloud/run/v2/BinaryAuthorization.java | 410 +- .../run/v2/BinaryAuthorizationOrBuilder.java | 33 +- .../google/cloud/run/v2/CloudSqlInstance.java | 345 +- .../run/v2/CloudSqlInstanceOrBuilder.java | 36 +- .../com/google/cloud/run/v2/Condition.java | 1360 +++---- .../cloud/run/v2/ConditionOrBuilder.java | 83 +- .../google/cloud/run/v2/ConditionProto.java | 90 + .../com/google/cloud/run/v2/Container.java | 1415 +++---- .../cloud/run/v2/ContainerOrBuilder.java | 161 +- .../google/cloud/run/v2/ContainerPort.java | 351 +- .../cloud/run/v2/ContainerPortOrBuilder.java | 30 +- .../google/cloud/run/v2/CreateJobRequest.java | 552 ++- .../run/v2/CreateJobRequestOrBuilder.java | 61 +- .../cloud/run/v2/CreateServiceRequest.java | 612 ++- .../run/v2/CreateServiceRequestOrBuilder.java | 76 +- .../cloud/run/v2/DeleteExecutionRequest.java | 486 +-- .../v2/DeleteExecutionRequestOrBuilder.java | 53 +- .../google/cloud/run/v2/DeleteJobRequest.java | 483 +-- .../run/v2/DeleteJobRequestOrBuilder.java | 53 +- .../cloud/run/v2/DeleteRevisionRequest.java | 465 +-- .../v2/DeleteRevisionRequestOrBuilder.java | 47 +- .../cloud/run/v2/DeleteServiceRequest.java | 486 +-- .../run/v2/DeleteServiceRequestOrBuilder.java | 53 +- .../java/com/google/cloud/run/v2/EnvVar.java | 540 ++- .../google/cloud/run/v2/EnvVarOrBuilder.java | 47 +- .../com/google/cloud/run/v2/EnvVarSource.java | 323 +- .../cloud/run/v2/EnvVarSourceOrBuilder.java | 26 +- .../com/google/cloud/run/v2/Execution.java | 2904 ++++++-------- .../cloud/run/v2/ExecutionEnvironment.java | 77 +- .../google/cloud/run/v2/ExecutionName.java | 0 .../cloud/run/v2/ExecutionOrBuilder.java | 400 +- .../google/cloud/run/v2/ExecutionProto.java | 209 + .../cloud/run/v2/ExecutionReference.java | 486 +-- .../run/v2/ExecutionReferenceOrBuilder.java | 43 +- .../cloud/run/v2/ExecutionTemplate.java | 937 ++--- .../run/v2/ExecutionTemplateOrBuilder.java | 103 +- .../cloud/run/v2/ExecutionTemplateProto.java | 92 + .../com/google/cloud/run/v2/GRPCAction.java | 672 ++++ .../cloud/run/v2/GRPCActionOrBuilder.java | 44 + .../cloud/run/v2/GetExecutionRequest.java | 369 +- .../run/v2/GetExecutionRequestOrBuilder.java | 35 + .../google/cloud/run/v2/GetJobRequest.java | 365 +- .../cloud/run/v2/GetJobRequestOrBuilder.java | 33 + .../cloud/run/v2/GetRevisionRequest.java | 348 +- .../run/v2/GetRevisionRequestOrBuilder.java | 33 + .../cloud/run/v2/GetServiceRequest.java | 369 +- .../run/v2/GetServiceRequestOrBuilder.java | 33 + .../google/cloud/run/v2/GetTaskRequest.java | 341 +- .../cloud/run/v2/GetTaskRequestOrBuilder.java | 33 + .../google/cloud/run/v2/HTTPGetAction.java | 471 +-- .../cloud/run/v2/HTTPGetActionOrBuilder.java | 45 +- .../com/google/cloud/run/v2/HTTPHeader.java | 392 +- .../cloud/run/v2/HTTPHeaderOrBuilder.java | 36 +- .../google/cloud/run/v2/IngressTraffic.java | 89 +- .../java/com/google/cloud/run/v2/Job.java | 2780 +++++--------- .../java/com/google/cloud/run/v2/JobName.java | 0 .../com/google/cloud/run/v2/JobOrBuilder.java | 336 +- .../com/google/cloud/run/v2/JobProto.java | 295 ++ .../com/google/cloud/run/v2/K8sMinProto.java | 297 ++ .../cloud/run/v2/ListExecutionsRequest.java | 521 ++- .../v2/ListExecutionsRequestOrBuilder.java | 56 +- .../cloud/run/v2/ListExecutionsResponse.java | 475 +-- .../v2/ListExecutionsResponseOrBuilder.java | 46 +- .../google/cloud/run/v2/ListJobsRequest.java | 518 ++- .../run/v2/ListJobsRequestOrBuilder.java | 56 +- .../google/cloud/run/v2/ListJobsResponse.java | 480 +-- .../run/v2/ListJobsResponseOrBuilder.java | 46 +- .../cloud/run/v2/ListRevisionsRequest.java | 500 +-- .../run/v2/ListRevisionsRequestOrBuilder.java | 50 +- .../cloud/run/v2/ListRevisionsResponse.java | 474 +-- .../v2/ListRevisionsResponseOrBuilder.java | 46 +- .../cloud/run/v2/ListServicesRequest.java | 535 ++- .../run/v2/ListServicesRequestOrBuilder.java | 60 +- .../cloud/run/v2/ListServicesResponse.java | 480 +-- .../run/v2/ListServicesResponseOrBuilder.java | 46 +- .../google/cloud/run/v2/ListTasksRequest.java | 497 +-- .../run/v2/ListTasksRequestOrBuilder.java | 50 +- .../cloud/run/v2/ListTasksResponse.java | 483 +-- .../run/v2/ListTasksResponseOrBuilder.java | 46 +- .../com/google/cloud/run/v2/LocationName.java | 0 .../java/com/google/cloud/run/v2/Probe.java | 915 +++-- .../google/cloud/run/v2/ProbeOrBuilder.java | 88 +- .../cloud/run/v2/ResourceRequirements.java | 607 ++- .../run/v2/ResourceRequirementsOrBuilder.java | 95 + .../com/google/cloud/run/v2/Revision.java | 2917 ++++++-------- .../com/google/cloud/run/v2/RevisionName.java | 0 .../cloud/run/v2/RevisionOrBuilder.java | 344 +- .../google/cloud/run/v2/RevisionProto.java | 226 ++ .../google/cloud/run/v2/RevisionScaling.java | 311 +- .../run/v2/RevisionScalingOrBuilder.java | 24 +- .../google/cloud/run/v2/RevisionTemplate.java | 1640 ++++---- .../run/v2/RevisionTemplateOrBuilder.java | 178 +- .../cloud/run/v2/RevisionTemplateProto.java | 108 + .../google/cloud/run/v2/RunJobRequest.java | 482 +-- .../cloud/run/v2/RunJobRequestOrBuilder.java | 53 +- .../cloud/run/v2/SecretKeySelector.java | 448 +-- .../run/v2/SecretKeySelectorOrBuilder.java | 50 +- .../cloud/run/v2/SecretVolumeSource.java | 510 +-- .../run/v2/SecretVolumeSourceOrBuilder.java | 49 +- .../java/com/google/cloud/run/v2/Service.java | 3379 ++++++----------- .../com/google/cloud/run/v2/ServiceName.java | 0 .../google/cloud/run/v2/ServiceOrBuilder.java | 427 +-- .../com/google/cloud/run/v2/ServiceProto.java | 287 ++ .../google/cloud/run/v2/TCPSocketAction.java | 280 +- .../run/v2/TCPSocketActionOrBuilder.java | 20 + .../java/com/google/cloud/run/v2/Task.java | 3313 ++++++---------- .../cloud/run/v2/TaskAttemptResult.java | 352 +- .../run/v2/TaskAttemptResultOrBuilder.java | 29 +- .../com/google/cloud/run/v2/TaskName.java | 0 .../google/cloud/run/v2/TaskOrBuilder.java | 421 +- .../com/google/cloud/run/v2/TaskProto.java | 211 + .../com/google/cloud/run/v2/TaskTemplate.java | 1021 ++--- .../cloud/run/v2/TaskTemplateOrBuilder.java | 102 +- .../cloud/run/v2/TaskTemplateProto.java | 76 + .../google/cloud/run/v2/TrafficTarget.java | 496 +-- .../run/v2/TrafficTargetAllocationType.java | 77 +- .../cloud/run/v2/TrafficTargetOrBuilder.java | 45 +- .../cloud/run/v2/TrafficTargetProto.java | 81 + .../cloud/run/v2/TrafficTargetStatus.java | 577 ++- .../run/v2/TrafficTargetStatusOrBuilder.java | 54 +- .../google/cloud/run/v2/UpdateJobRequest.java | 394 +- .../run/v2/UpdateJobRequestOrBuilder.java | 32 +- .../cloud/run/v2/UpdateServiceRequest.java | 433 +-- .../run/v2/UpdateServiceRequestOrBuilder.java | 41 +- .../cloud/run/v2/VendorSettingsProto.java | 96 + .../google/cloud/run/v2/VersionToPath.java | 451 +-- .../cloud/run/v2/VersionToPathOrBuilder.java | 45 +- .../java/com/google/cloud/run/v2/Volume.java | 533 +-- .../com/google/cloud/run/v2/VolumeMount.java | 392 +- .../cloud/run/v2/VolumeMountOrBuilder.java | 36 +- .../google/cloud/run/v2/VolumeOrBuilder.java | 43 +- .../com/google/cloud/run/v2/VpcAccess.java | 454 +-- .../cloud/run/v2/VpcAccessOrBuilder.java | 39 +- .../proto/google/cloud/run/v2/condition.proto | 2 +- .../proto/google/cloud/run/v2/execution.proto | 85 +- .../cloud/run/v2/execution_template.proto | 0 .../main/proto/google/cloud/run/v2/job.proto | 23 +- .../proto/google/cloud/run/v2/k8s.min.proto | 33 +- .../proto/google/cloud/run/v2/revision.proto | 12 +- .../cloud/run/v2/revision_template.proto | 10 +- .../proto/google/cloud/run/v2/service.proto | 29 +- .../main/proto/google/cloud/run/v2/task.proto | 10 +- .../google/cloud/run/v2/task_template.proto | 8 +- .../google/cloud/run/v2/traffic_target.proto | 0 .../google/cloud/run/v2/vendor_settings.proto | 3 +- .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../deleteexecution/AsyncDeleteExecution.java | 0 .../AsyncDeleteExecutionLRO.java | 0 .../deleteexecution/SyncDeleteExecution.java | 0 .../SyncDeleteExecutionExecutionname.java | 0 .../SyncDeleteExecutionString.java | 0 .../getexecution/AsyncGetExecution.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncGetExecutionExecutionname.java | 0 .../getexecution/SyncGetExecutionString.java | 0 .../listexecutions/AsyncListExecutions.java | 0 .../AsyncListExecutionsPaged.java | 0 .../listexecutions/SyncListExecutions.java | 0 .../SyncListExecutionsJobname.java | 0 .../SyncListExecutionsString.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../v2/jobs/create/SyncCreateSetEndpoint.java | 0 .../run/v2/jobs/createjob/AsyncCreateJob.java | 0 .../v2/jobs/createjob/AsyncCreateJobLRO.java | 0 .../run/v2/jobs/createjob/SyncCreateJob.java | 0 .../SyncCreateJobLocationnameJobString.java | 0 .../SyncCreateJobStringJobString.java | 0 .../run/v2/jobs/deletejob/AsyncDeleteJob.java | 0 .../v2/jobs/deletejob/AsyncDeleteJobLRO.java | 0 .../run/v2/jobs/deletejob/SyncDeleteJob.java | 0 .../jobs/deletejob/SyncDeleteJobJobname.java | 0 .../jobs/deletejob/SyncDeleteJobString.java | 0 .../jobs/getiampolicy/AsyncGetIamPolicy.java | 0 .../jobs/getiampolicy/SyncGetIamPolicy.java | 0 .../cloud/run/v2/jobs/getjob/AsyncGetJob.java | 0 .../cloud/run/v2/jobs/getjob/SyncGetJob.java | 0 .../run/v2/jobs/getjob/SyncGetJobJobname.java | 0 .../run/v2/jobs/getjob/SyncGetJobString.java | 0 .../run/v2/jobs/listjobs/AsyncListJobs.java | 0 .../v2/jobs/listjobs/AsyncListJobsPaged.java | 0 .../run/v2/jobs/listjobs/SyncListJobs.java | 0 .../listjobs/SyncListJobsLocationname.java | 0 .../v2/jobs/listjobs/SyncListJobsString.java | 0 .../cloud/run/v2/jobs/runjob/AsyncRunJob.java | 0 .../run/v2/jobs/runjob/AsyncRunJobLRO.java | 0 .../cloud/run/v2/jobs/runjob/SyncRunJob.java | 0 .../run/v2/jobs/runjob/SyncRunJobJobname.java | 0 .../run/v2/jobs/runjob/SyncRunJobString.java | 0 .../jobs/setiampolicy/AsyncSetIamPolicy.java | 0 .../jobs/setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../run/v2/jobs/updatejob/AsyncUpdateJob.java | 0 .../v2/jobs/updatejob/AsyncUpdateJobLRO.java | 0 .../run/v2/jobs/updatejob/SyncUpdateJob.java | 0 .../v2/jobs/updatejob/SyncUpdateJobJob.java | 0 .../v2/jobssettings/getjob/SyncGetJob.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../deleterevision/AsyncDeleteRevision.java | 0 .../AsyncDeleteRevisionLRO.java | 0 .../deleterevision/SyncDeleteRevision.java | 0 .../SyncDeleteRevisionRevisionname.java | 0 .../SyncDeleteRevisionString.java | 0 .../getrevision/AsyncGetRevision.java | 0 .../getrevision/SyncGetRevision.java | 0 .../SyncGetRevisionRevisionname.java | 0 .../getrevision/SyncGetRevisionString.java | 0 .../listrevisions/AsyncListRevisions.java | 0 .../AsyncListRevisionsPaged.java | 0 .../listrevisions/SyncListRevisions.java | 0 .../SyncListRevisionsServicename.java | 0 .../SyncListRevisionsString.java | 0 .../getrevision/SyncGetRevision.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createservice/AsyncCreateService.java | 0 .../createservice/AsyncCreateServiceLRO.java | 0 .../createservice/SyncCreateService.java | 0 ...reateServiceLocationnameServiceString.java | 0 .../SyncCreateServiceStringServiceString.java | 0 .../deleteservice/AsyncDeleteService.java | 0 .../deleteservice/AsyncDeleteServiceLRO.java | 0 .../deleteservice/SyncDeleteService.java | 0 .../SyncDeleteServiceServicename.java | 0 .../SyncDeleteServiceString.java | 0 .../getiampolicy/AsyncGetIamPolicy.java | 0 .../getiampolicy/SyncGetIamPolicy.java | 0 .../services/getservice/AsyncGetService.java | 0 .../services/getservice/SyncGetService.java | 0 .../getservice/SyncGetServiceServicename.java | 0 .../getservice/SyncGetServiceString.java | 0 .../listservices/AsyncListServices.java | 0 .../listservices/AsyncListServicesPaged.java | 0 .../listservices/SyncListServices.java | 0 .../SyncListServicesLocationname.java | 0 .../listservices/SyncListServicesString.java | 0 .../setiampolicy/AsyncSetIamPolicy.java | 0 .../setiampolicy/SyncSetIamPolicy.java | 0 .../AsyncTestIamPermissions.java | 0 .../SyncTestIamPermissions.java | 0 .../updateservice/AsyncUpdateService.java | 0 .../updateservice/AsyncUpdateServiceLRO.java | 0 .../updateservice/SyncUpdateService.java | 0 .../SyncUpdateServiceService.java | 0 .../getservice/SyncGetService.java | 0 .../getexecution/SyncGetExecution.java | 0 .../jobsstubsettings/getjob/SyncGetJob.java | 0 .../getrevision/SyncGetRevision.java | 0 .../getservice/SyncGetService.java | 0 .../gettask/SyncGetTask.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../tasks/create/SyncCreateSetEndpoint.java | 0 .../run/v2/tasks/gettask/AsyncGetTask.java | 0 .../run/v2/tasks/gettask/SyncGetTask.java | 0 .../v2/tasks/gettask/SyncGetTaskString.java | 0 .../v2/tasks/gettask/SyncGetTaskTaskname.java | 0 .../v2/tasks/listtasks/AsyncListTasks.java | 0 .../tasks/listtasks/AsyncListTasksPaged.java | 0 .../run/v2/tasks/listtasks/SyncListTasks.java | 0 .../listtasks/SyncListTasksExecutionname.java | 0 .../tasks/listtasks/SyncListTasksString.java | 0 .../v2/taskssettings/gettask/SyncGetTask.java | 0 363 files changed, 24504 insertions(+), 36008 deletions(-) delete mode 100644 java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java delete mode 100644 java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java delete mode 100644 java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java delete mode 100644 java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java delete mode 100644 java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java delete mode 100644 java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java (98%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java (97%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java (97%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksClient.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/gapic_metadata.json (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStubSettings.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java (99%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksCallableFactory.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStubSettings.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStubSettings.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStubSettings.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStub.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStubSettings.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientHttpJsonTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientHttpJsonTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutionsImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobs.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobsImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocations.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocationsImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisionsImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServices.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServicesImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasks.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasksImpl.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientHttpJsonTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientHttpJsonTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientHttpJsonTest.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientTest.java (100%) create mode 100644 owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java create mode 100644 owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java create mode 100644 owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java create mode 100644 owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java create mode 100644 owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java (71%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java (75%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java (81%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java (89%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java (67%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java (56%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java (63%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java (65%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java (57%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java (56%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java (51%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java (67%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java (57%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java (56%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java (73%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java (80%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java (61%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java (65%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java (70%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java (71%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java (61%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java (68%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java (62%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java (61%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java (62%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java (61%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java (63%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java (67%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java (54%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java (67%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java (56%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java (53%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java (62%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java (61%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java (65%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java (64%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java (51%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java (71%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java (65%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java (63%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java (63%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/LocationName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java (62%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java (57%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java (81%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java (51%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java (51%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java (64%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java (51%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java (79%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java (83%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java (72%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java (80%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java (64%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java (71%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskName.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java (77%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java (77%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java (84%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java (69%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java (68%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java (64%) create mode 100644 owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java (66%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java (73%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java (70%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java (78%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java (69%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java (61%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto (99%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto (80%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto (94%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto (92%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto (96%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto (91%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto (94%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto (96%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto (91%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto (100%) rename {java-run => owl-bot-staging/java-run/v2}/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto (98%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetEndpoint.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecutionLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionExecutionname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/AsyncGetExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionExecutionname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutionsPaged.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsJobname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/executionssettings/getexecution/SyncGetExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetEndpoint.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJobLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobLocationnameJobString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobStringJobString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJobLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobJobname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/AsyncGetJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobJobname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobs.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobsPaged.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobs.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsLocationname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJobLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobJobname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJobLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJobJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/jobssettings/getjob/SyncGetJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetEndpoint.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevisionLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionRevisionname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/AsyncGetRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionRevisionname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisionsPaged.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsServicename.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/revisionssettings/getrevision/SyncGetRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetEndpoint.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateServiceLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceLocationnameServiceString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceStringServiceString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteServiceLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceServicename.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/AsyncGetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/SyncGetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/AsyncGetService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceServicename.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServices.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServicesPaged.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServices.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesLocationname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/AsyncSetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/SyncSetIamPolicy.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/AsyncTestIamPermissions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/SyncTestIamPermissions.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateServiceLRO.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateServiceService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/servicessettings/getservice/SyncGetService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/stub/executionsstubsettings/getexecution/SyncGetExecution.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/stub/jobsstubsettings/getjob/SyncGetJob.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/stub/revisionsstubsettings/getrevision/SyncGetRevision.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/stub/servicesstubsettings/getservice/SyncGetService.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/stub/tasksstubsettings/gettask/SyncGetTask.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetEndpoint.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/AsyncGetTask.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTask.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskTaskname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasks.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasksPaged.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasks.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksExecutionname.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksString.java (100%) rename {java-run => owl-bot-staging/java-run/v2}/samples/snippets/generated/com/google/cloud/run/v2/taskssettings/gettask/SyncGetTask.java (100%) diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java deleted file mode 100644 index d5abff936d55..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java +++ /dev/null @@ -1,578 +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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Execution Control Plane API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/execution.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.run.v2.GetExecutionRequest.class, - responseType = com.google.cloud.run.v2.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetExecutionRequest, com.google.cloud.run.v2.Execution> - getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = - getGetExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.GetExecutionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) - .build(); - } - } - } - return getGetExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListExecutionsRequest, - com.google.cloud.run.v2.ListExecutionsResponse> - getListExecutionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExecutions", - requestType = com.google.cloud.run.v2.ListExecutionsRequest.class, - responseType = com.google.cloud.run.v2.ListExecutionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListExecutionsRequest, - com.google.cloud.run.v2.ListExecutionsResponse> - getListExecutionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListExecutionsRequest, - com.google.cloud.run.v2.ListExecutionsResponse> - getListExecutionsMethod; - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - ExecutionsGrpc.getListExecutionsMethod = - getListExecutionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListExecutionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListExecutionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) - .build(); - } - } - } - return getListExecutionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteExecutionRequest, com.google.longrunning.Operation> - getDeleteExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteExecution", - requestType = com.google.cloud.run.v2.DeleteExecutionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteExecutionRequest, com.google.longrunning.Operation> - getDeleteExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteExecutionRequest, com.google.longrunning.Operation> - getDeleteExecutionMethod; - if ((getDeleteExecutionMethod = ExecutionsGrpc.getDeleteExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getDeleteExecutionMethod = ExecutionsGrpc.getDeleteExecutionMethod) == null) { - ExecutionsGrpc.getDeleteExecutionMethod = - getDeleteExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.DeleteExecutionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ExecutionsMethodDescriptorSupplier("DeleteExecution")) - .build(); - } - } - } - return getDeleteExecutionMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ExecutionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - }; - return ExecutionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ExecutionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - }; - return ExecutionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ExecutionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - }; - return ExecutionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Cloud Run Execution Control Plane API.
-   * 
- */ - public abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Gets information about an Execution.
-     * 
- */ - public void getExecution( - com.google.cloud.run.v2.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Executions from a Job.
-     * 
- */ - public void listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an Execution.
-     * 
- */ - public void deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.GetExecutionRequest, - com.google.cloud.run.v2.Execution>(this, METHODID_GET_EXECUTION))) - .addMethod( - getListExecutionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.ListExecutionsRequest, - com.google.cloud.run.v2.ListExecutionsResponse>( - this, METHODID_LIST_EXECUTIONS))) - .addMethod( - getDeleteExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.DeleteExecutionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * Cloud Run Execution Control Plane API.
-   * 
- */ - public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { - private ExecutionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about an Execution.
-     * 
- */ - public void getExecution( - com.google.cloud.run.v2.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Executions from a Job.
-     * 
- */ - public void listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an Execution.
-     * 
- */ - public void deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Cloud Run Execution Control Plane API.
-   * 
- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ExecutionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about an Execution.
-     * 
- */ - public com.google.cloud.run.v2.Execution getExecution( - com.google.cloud.run.v2.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Executions from a Job.
-     * 
- */ - public com.google.cloud.run.v2.ListExecutionsResponse listExecutions( - com.google.cloud.run.v2.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an Execution.
-     * 
- */ - public com.google.longrunning.Operation deleteExecution( - com.google.cloud.run.v2.DeleteExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteExecutionMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Cloud Run Execution Control Plane API.
-   * 
- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ExecutionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about an Execution.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getExecution(com.google.cloud.run.v2.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Executions from a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListExecutionsResponse> - listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an Execution.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteExecution(com.google.cloud.run.v2.DeleteExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteExecutionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_EXECUTION = 0; - private static final int METHODID_LIST_EXECUTIONS = 1; - private static final int METHODID_DELETE_EXECUTION = 2; - - 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_EXECUTION: - serviceImpl.getExecution( - (com.google.cloud.run.v2.GetExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_EXECUTIONS: - serviceImpl.listExecutions( - (com.google.cloud.run.v2.ListExecutionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_EXECUTION: - serviceImpl.deleteExecution( - (com.google.cloud.run.v2.DeleteExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ExecutionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.run.v2.ExecutionProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Executions"); - } - } - - private static final class ExecutionsFileDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier { - ExecutionsFileDescriptorSupplier() {} - } - - private static final class ExecutionsMethodDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ExecutionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ExecutionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) - .addMethod(getGetExecutionMethod()) - .addMethod(getListExecutionsMethod()) - .addMethod(getDeleteExecutionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java deleted file mode 100644 index 9a063c6e1e50..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java +++ /dev/null @@ -1,1210 +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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Job Control Plane API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/job.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class JobsGrpc { - - private JobsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Jobs"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateJob", - requestType = com.google.cloud.run.v2.CreateJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation> - getCreateJobMethod; - if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { - JobsGrpc.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.run.v2.CreateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("CreateJob")) - .build(); - } - } - } - return getCreateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetJobRequest, com.google.cloud.run.v2.Job> - getGetJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetJob", - requestType = com.google.cloud.run.v2.GetJobRequest.class, - responseType = com.google.cloud.run.v2.Job.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetJobRequest, com.google.cloud.run.v2.Job> - getGetJobMethod() { - io.grpc.MethodDescriptor - getGetJobMethod; - if ((getGetJobMethod = JobsGrpc.getGetJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getGetJobMethod = JobsGrpc.getGetJobMethod) == null) { - JobsGrpc.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.run.v2.GetJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.Job.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("GetJob")) - .build(); - } - } - } - return getGetJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListJobsRequest, com.google.cloud.run.v2.ListJobsResponse> - getListJobsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListJobs", - requestType = com.google.cloud.run.v2.ListJobsRequest.class, - responseType = com.google.cloud.run.v2.ListJobsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListJobsRequest, com.google.cloud.run.v2.ListJobsResponse> - getListJobsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListJobsRequest, com.google.cloud.run.v2.ListJobsResponse> - getListJobsMethod; - if ((getListJobsMethod = JobsGrpc.getListJobsMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getListJobsMethod = JobsGrpc.getListJobsMethod) == null) { - JobsGrpc.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.run.v2.ListJobsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListJobsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("ListJobs")) - .build(); - } - } - } - return getListJobsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateJobRequest, com.google.longrunning.Operation> - getUpdateJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateJob", - requestType = com.google.cloud.run.v2.UpdateJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateJobRequest, com.google.longrunning.Operation> - getUpdateJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateJobRequest, com.google.longrunning.Operation> - getUpdateJobMethod; - if ((getUpdateJobMethod = JobsGrpc.getUpdateJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getUpdateJobMethod = JobsGrpc.getUpdateJobMethod) == null) { - JobsGrpc.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.run.v2.UpdateJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("UpdateJob")) - .build(); - } - } - } - return getUpdateJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteJobRequest, com.google.longrunning.Operation> - getDeleteJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteJob", - requestType = com.google.cloud.run.v2.DeleteJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteJobRequest, com.google.longrunning.Operation> - getDeleteJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteJobRequest, com.google.longrunning.Operation> - getDeleteJobMethod; - if ((getDeleteJobMethod = JobsGrpc.getDeleteJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getDeleteJobMethod = JobsGrpc.getDeleteJobMethod) == null) { - JobsGrpc.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.run.v2.DeleteJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("DeleteJob")) - .build(); - } - } - } - return getDeleteJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.RunJobRequest, com.google.longrunning.Operation> - getRunJobMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunJob", - requestType = com.google.cloud.run.v2.RunJobRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.RunJobRequest, com.google.longrunning.Operation> - getRunJobMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.RunJobRequest, com.google.longrunning.Operation> - getRunJobMethod; - if ((getRunJobMethod = JobsGrpc.getRunJobMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getRunJobMethod = JobsGrpc.getRunJobMethod) == null) { - JobsGrpc.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.run.v2.RunJobRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("RunJob")) - .build(); - } - } - } - return getRunJobMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = JobsGrpc.getGetIamPolicyMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getGetIamPolicyMethod = JobsGrpc.getGetIamPolicyMethod) == null) { - JobsGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = JobsGrpc.getSetIamPolicyMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getSetIamPolicyMethod = JobsGrpc.getSetIamPolicyMethod) == null) { - JobsGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = JobsGrpc.getTestIamPermissionsMethod) == null) { - synchronized (JobsGrpc.class) { - if ((getTestIamPermissionsMethod = JobsGrpc.getTestIamPermissionsMethod) == null) { - JobsGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new JobsMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static JobsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsStub(channel, callOptions); - } - }; - return JobsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static JobsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsBlockingStub(channel, callOptions); - } - }; - return JobsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static JobsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public JobsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsFutureStub(channel, callOptions); - } - }; - return JobsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Cloud Run Job Control Plane API.
-   * 
- */ - public abstract static class JobsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a Job.
-     * 
- */ - public void createJob( - com.google.cloud.run.v2.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a Job.
-     * 
- */ - public void getJob( - com.google.cloud.run.v2.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Jobs.
-     * 
- */ - public void listJobs( - com.google.cloud.run.v2.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a Job.
-     * 
- */ - public void updateJob( - com.google.cloud.run.v2.UpdateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a Job.
-     * 
- */ - public void deleteJob( - com.google.cloud.run.v2.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Triggers creation of a new Execution of this Job.
-     * 
- */ - public void runJob( - com.google.cloud.run.v2.RunJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); - } - - /** - * - * - *
-     * Get the IAM Access Control policy currently in effect for the given Job.
-     * This result does not include any inherited policies.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Job. Overwrites
-     * any existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.CreateJobRequest, com.google.longrunning.Operation>( - this, METHODID_CREATE_JOB))) - .addMethod( - getGetJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.GetJobRequest, com.google.cloud.run.v2.Job>( - this, METHODID_GET_JOB))) - .addMethod( - getListJobsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.ListJobsRequest, - com.google.cloud.run.v2.ListJobsResponse>(this, METHODID_LIST_JOBS))) - .addMethod( - getUpdateJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.UpdateJobRequest, com.google.longrunning.Operation>( - this, METHODID_UPDATE_JOB))) - .addMethod( - getDeleteJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.DeleteJobRequest, com.google.longrunning.Operation>( - this, METHODID_DELETE_JOB))) - .addMethod( - getRunJobMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.RunJobRequest, com.google.longrunning.Operation>( - this, METHODID_RUN_JOB))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * Cloud Run Job Control Plane API.
-   * 
- */ - public static final class JobsStub extends io.grpc.stub.AbstractAsyncStub { - private JobsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a Job.
-     * 
- */ - public void createJob( - com.google.cloud.run.v2.CreateJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets information about a Job.
-     * 
- */ - public void getJob( - com.google.cloud.run.v2.GetJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists Jobs.
-     * 
- */ - public void listJobs( - com.google.cloud.run.v2.ListJobsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a Job.
-     * 
- */ - public void updateJob( - com.google.cloud.run.v2.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.run.v2.DeleteJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Triggers creation of a new Execution of this Job.
-     * 
- */ - public void runJob( - com.google.cloud.run.v2.RunJobRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Get the IAM Access Control policy currently in effect for the given Job.
-     * This result does not include any inherited policies.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Job. Overwrites
-     * any existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Cloud Run Job Control Plane API.
-   * 
- */ - public static final class JobsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private JobsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a Job.
-     * 
- */ - public com.google.longrunning.Operation createJob( - com.google.cloud.run.v2.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a Job.
-     * 
- */ - public com.google.cloud.run.v2.Job getJob(com.google.cloud.run.v2.GetJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Jobs.
-     * 
- */ - public com.google.cloud.run.v2.ListJobsResponse listJobs( - com.google.cloud.run.v2.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListJobsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a Job.
-     * 
- */ - public com.google.longrunning.Operation updateJob( - com.google.cloud.run.v2.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a Job.
-     * 
- */ - public com.google.longrunning.Operation deleteJob( - com.google.cloud.run.v2.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Triggers creation of a new Execution of this Job.
-     * 
- */ - public com.google.longrunning.Operation runJob(com.google.cloud.run.v2.RunJobRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunJobMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Get the IAM Access Control policy currently in effect for the given Job.
-     * This result does not include any inherited policies.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Job. Overwrites
-     * any existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Cloud Run Job Control Plane API.
-   * 
- */ - public static final class JobsFutureStub extends io.grpc.stub.AbstractFutureStub { - private JobsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected JobsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new JobsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createJob(com.google.cloud.run.v2.CreateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getJob( - com.google.cloud.run.v2.GetJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Jobs.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListJobsResponse> - listJobs(com.google.cloud.run.v2.ListJobsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListJobsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateJob(com.google.cloud.run.v2.UpdateJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteJob(com.google.cloud.run.v2.DeleteJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Triggers creation of a new Execution of this Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - runJob(com.google.cloud.run.v2.RunJobRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRunJobMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Get the IAM Access Control policy currently in effect for the given Job.
-     * This result does not include any inherited policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Job. Overwrites
-     * any existing policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_JOB = 0; - private static final int METHODID_GET_JOB = 1; - private static final int METHODID_LIST_JOBS = 2; - private static final int METHODID_UPDATE_JOB = 3; - private static final int METHODID_DELETE_JOB = 4; - private static final int METHODID_RUN_JOB = 5; - private static final int METHODID_GET_IAM_POLICY = 6; - private static final int METHODID_SET_IAM_POLICY = 7; - private static final int METHODID_TEST_IAM_PERMISSIONS = 8; - - 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 JobsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(JobsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_JOB: - serviceImpl.createJob( - (com.google.cloud.run.v2.CreateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_JOB: - serviceImpl.getJob( - (com.google.cloud.run.v2.GetJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_JOBS: - serviceImpl.listJobs( - (com.google.cloud.run.v2.ListJobsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_JOB: - serviceImpl.updateJob( - (com.google.cloud.run.v2.UpdateJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_JOB: - serviceImpl.deleteJob( - (com.google.cloud.run.v2.DeleteJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RUN_JOB: - serviceImpl.runJob( - (com.google.cloud.run.v2.RunJobRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class JobsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - JobsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.run.v2.JobProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Jobs"); - } - } - - private static final class JobsFileDescriptorSupplier extends JobsBaseDescriptorSupplier { - JobsFileDescriptorSupplier() {} - } - - private static final class JobsMethodDescriptorSupplier extends JobsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - JobsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (JobsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new JobsFileDescriptorSupplier()) - .addMethod(getCreateJobMethod()) - .addMethod(getGetJobMethod()) - .addMethod(getListJobsMethod()) - .addMethod(getUpdateJobMethod()) - .addMethod(getDeleteJobMethod()) - .addMethod(getRunJobMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java deleted file mode 100644 index 3ec9db513ad2..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java +++ /dev/null @@ -1,577 +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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Revision Control Plane API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/revision.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class RevisionsGrpc { - - private RevisionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Revisions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRevision", - requestType = com.google.cloud.run.v2.GetRevisionRequest.class, - responseType = com.google.cloud.run.v2.Revision.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision> - getGetRevisionMethod; - if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { - synchronized (RevisionsGrpc.class) { - if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { - RevisionsGrpc.getGetRevisionMethod = - getGetRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.GetRevisionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.Revision.getDefaultInstance())) - .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("GetRevision")) - .build(); - } - } - } - return getGetRevisionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListRevisionsRequest, - com.google.cloud.run.v2.ListRevisionsResponse> - getListRevisionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRevisions", - requestType = com.google.cloud.run.v2.ListRevisionsRequest.class, - responseType = com.google.cloud.run.v2.ListRevisionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListRevisionsRequest, - com.google.cloud.run.v2.ListRevisionsResponse> - getListRevisionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListRevisionsRequest, - com.google.cloud.run.v2.ListRevisionsResponse> - getListRevisionsMethod; - if ((getListRevisionsMethod = RevisionsGrpc.getListRevisionsMethod) == null) { - synchronized (RevisionsGrpc.class) { - if ((getListRevisionsMethod = RevisionsGrpc.getListRevisionsMethod) == null) { - RevisionsGrpc.getListRevisionsMethod = - getListRevisionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRevisions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListRevisionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListRevisionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("ListRevisions")) - .build(); - } - } - } - return getListRevisionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteRevisionRequest, com.google.longrunning.Operation> - getDeleteRevisionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRevision", - requestType = com.google.cloud.run.v2.DeleteRevisionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteRevisionRequest, com.google.longrunning.Operation> - getDeleteRevisionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteRevisionRequest, com.google.longrunning.Operation> - getDeleteRevisionMethod; - if ((getDeleteRevisionMethod = RevisionsGrpc.getDeleteRevisionMethod) == null) { - synchronized (RevisionsGrpc.class) { - if ((getDeleteRevisionMethod = RevisionsGrpc.getDeleteRevisionMethod) == null) { - RevisionsGrpc.getDeleteRevisionMethod = - getDeleteRevisionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRevision")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.DeleteRevisionRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("DeleteRevision")) - .build(); - } - } - } - return getDeleteRevisionMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static RevisionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RevisionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsStub(channel, callOptions); - } - }; - return RevisionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static RevisionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RevisionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsBlockingStub(channel, callOptions); - } - }; - return RevisionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static RevisionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public RevisionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsFutureStub(channel, callOptions); - } - }; - return RevisionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Cloud Run Revision Control Plane API.
-   * 
- */ - public abstract static class RevisionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Gets information about a Revision.
-     * 
- */ - public void getRevision( - com.google.cloud.run.v2.GetRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRevisionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Revisions from a given Service, or from a given location.
-     * 
- */ - public void listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRevisionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a Revision.
-     * 
- */ - public void deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRevisionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.GetRevisionRequest, com.google.cloud.run.v2.Revision>( - this, METHODID_GET_REVISION))) - .addMethod( - getListRevisionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.ListRevisionsRequest, - com.google.cloud.run.v2.ListRevisionsResponse>( - this, METHODID_LIST_REVISIONS))) - .addMethod( - getDeleteRevisionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.DeleteRevisionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REVISION))) - .build(); - } - } - - /** - * - * - *
-   * Cloud Run Revision Control Plane API.
-   * 
- */ - public static final class RevisionsStub extends io.grpc.stub.AbstractAsyncStub { - private RevisionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RevisionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Revision.
-     * 
- */ - public void getRevision( - com.google.cloud.run.v2.GetRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Revisions from a given Service, or from a given location.
-     * 
- */ - public void listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRevisionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a Revision.
-     * 
- */ - public void deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRevisionMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Cloud Run Revision Control Plane API.
-   * 
- */ - public static final class RevisionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private RevisionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RevisionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Revision.
-     * 
- */ - public com.google.cloud.run.v2.Revision getRevision( - com.google.cloud.run.v2.GetRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRevisionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Revisions from a given Service, or from a given location.
-     * 
- */ - public com.google.cloud.run.v2.ListRevisionsResponse listRevisions( - com.google.cloud.run.v2.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRevisionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a Revision.
-     * 
- */ - public com.google.longrunning.Operation deleteRevision( - com.google.cloud.run.v2.DeleteRevisionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRevisionMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Cloud Run Revision Control Plane API.
-   * 
- */ - public static final class RevisionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private RevisionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected RevisionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new RevisionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Revision.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getRevision(com.google.cloud.run.v2.GetRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Revisions from a given Service, or from a given location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListRevisionsResponse> - listRevisions(com.google.cloud.run.v2.ListRevisionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a Revision.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRevision(com.google.cloud.run.v2.DeleteRevisionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRevisionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_REVISION = 0; - private static final int METHODID_LIST_REVISIONS = 1; - private static final int METHODID_DELETE_REVISION = 2; - - 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 RevisionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(RevisionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_REVISION: - serviceImpl.getRevision( - (com.google.cloud.run.v2.GetRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REVISIONS: - serviceImpl.listRevisions( - (com.google.cloud.run.v2.ListRevisionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REVISION: - serviceImpl.deleteRevision( - (com.google.cloud.run.v2.DeleteRevisionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class RevisionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - RevisionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.run.v2.RevisionProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Revisions"); - } - } - - private static final class RevisionsFileDescriptorSupplier - extends RevisionsBaseDescriptorSupplier { - RevisionsFileDescriptorSupplier() {} - } - - private static final class RevisionsMethodDescriptorSupplier - extends RevisionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - RevisionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (RevisionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new RevisionsFileDescriptorSupplier()) - .addMethod(getGetRevisionMethod()) - .addMethod(getListRevisionsMethod()) - .addMethod(getDeleteRevisionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java deleted file mode 100644 index bc72f040eb36..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java +++ /dev/null @@ -1,1136 +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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Service Control Plane API
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ServicesGrpc { - - private ServicesGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Services"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateService", - requestType = com.google.cloud.run.v2.CreateServiceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.CreateServiceRequest, com.google.longrunning.Operation> - getCreateServiceMethod; - if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { - ServicesGrpc.getCreateServiceMethod = - getCreateServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.CreateServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("CreateService")) - .build(); - } - } - } - return getCreateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetServiceRequest, com.google.cloud.run.v2.Service> - getGetServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetService", - requestType = com.google.cloud.run.v2.GetServiceRequest.class, - responseType = com.google.cloud.run.v2.Service.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetServiceRequest, com.google.cloud.run.v2.Service> - getGetServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetServiceRequest, com.google.cloud.run.v2.Service> - getGetServiceMethod; - if ((getGetServiceMethod = ServicesGrpc.getGetServiceMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getGetServiceMethod = ServicesGrpc.getGetServiceMethod) == null) { - ServicesGrpc.getGetServiceMethod = - getGetServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.GetServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.Service.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("GetService")) - .build(); - } - } - } - return getGetServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListServicesRequest, com.google.cloud.run.v2.ListServicesResponse> - getListServicesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListServices", - requestType = com.google.cloud.run.v2.ListServicesRequest.class, - responseType = com.google.cloud.run.v2.ListServicesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListServicesRequest, com.google.cloud.run.v2.ListServicesResponse> - getListServicesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListServicesRequest, - com.google.cloud.run.v2.ListServicesResponse> - getListServicesMethod; - if ((getListServicesMethod = ServicesGrpc.getListServicesMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getListServicesMethod = ServicesGrpc.getListServicesMethod) == null) { - ServicesGrpc.getListServicesMethod = - getListServicesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServices")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListServicesRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListServicesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("ListServices")) - .build(); - } - } - } - return getListServicesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateServiceRequest, com.google.longrunning.Operation> - getUpdateServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateService", - requestType = com.google.cloud.run.v2.UpdateServiceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateServiceRequest, com.google.longrunning.Operation> - getUpdateServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.UpdateServiceRequest, com.google.longrunning.Operation> - getUpdateServiceMethod; - if ((getUpdateServiceMethod = ServicesGrpc.getUpdateServiceMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getUpdateServiceMethod = ServicesGrpc.getUpdateServiceMethod) == null) { - ServicesGrpc.getUpdateServiceMethod = - getUpdateServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.UpdateServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("UpdateService")) - .build(); - } - } - } - return getUpdateServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteServiceRequest, com.google.longrunning.Operation> - getDeleteServiceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteService", - requestType = com.google.cloud.run.v2.DeleteServiceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteServiceRequest, com.google.longrunning.Operation> - getDeleteServiceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.DeleteServiceRequest, com.google.longrunning.Operation> - getDeleteServiceMethod; - if ((getDeleteServiceMethod = ServicesGrpc.getDeleteServiceMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getDeleteServiceMethod = ServicesGrpc.getDeleteServiceMethod) == null) { - ServicesGrpc.getDeleteServiceMethod = - getDeleteServiceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteService")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.DeleteServiceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("DeleteService")) - .build(); - } - } - } - return getDeleteServiceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ServicesGrpc.getGetIamPolicyMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getGetIamPolicyMethod = ServicesGrpc.getGetIamPolicyMethod) == null) { - ServicesGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ServicesGrpc.getSetIamPolicyMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getSetIamPolicyMethod = ServicesGrpc.getSetIamPolicyMethod) == null) { - ServicesGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ServicesGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ServicesGrpc.class) { - if ((getTestIamPermissionsMethod = ServicesGrpc.getTestIamPermissionsMethod) == null) { - ServicesGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ServicesMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ServicesStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServicesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesStub(channel, callOptions); - } - }; - return ServicesStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ServicesBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServicesBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesBlockingStub(channel, callOptions); - } - }; - return ServicesBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ServicesFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ServicesFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesFutureStub(channel, callOptions); - } - }; - return ServicesFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Cloud Run Service Control Plane API
-   * 
- */ - public abstract static class ServicesImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new Service in a given project and location.
-     * 
- */ - public void createService( - com.google.cloud.run.v2.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a Service.
-     * 
- */ - public void getService( - com.google.cloud.run.v2.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Services.
-     * 
- */ - public void listServices( - com.google.cloud.run.v2.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListServicesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a Service.
-     * 
- */ - public void updateService( - com.google.cloud.run.v2.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a Service.
-     * This will cause the Service to stop serving traffic and will delete all
-     * revisions.
-     * 
- */ - public void deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteServiceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM Access Control policy currently in effect for the given
-     * Cloud Run Service. This result does not include any inherited policies.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Service. Overwrites
-     * any existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.CreateServiceRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_SERVICE))) - .addMethod( - getGetServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.GetServiceRequest, com.google.cloud.run.v2.Service>( - this, METHODID_GET_SERVICE))) - .addMethod( - getListServicesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.ListServicesRequest, - com.google.cloud.run.v2.ListServicesResponse>(this, METHODID_LIST_SERVICES))) - .addMethod( - getUpdateServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.UpdateServiceRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_SERVICE))) - .addMethod( - getDeleteServiceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.DeleteServiceRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_SERVICE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * Cloud Run Service Control Plane API
-   * 
- */ - public static final class ServicesStub extends io.grpc.stub.AbstractAsyncStub { - private ServicesStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServicesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new Service in a given project and location.
-     * 
- */ - public void createService( - com.google.cloud.run.v2.CreateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about a Service.
-     * 
- */ - public void getService( - com.google.cloud.run.v2.GetServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists Services.
-     * 
- */ - public void listServices( - com.google.cloud.run.v2.ListServicesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a Service.
-     * 
- */ - public void updateService( - com.google.cloud.run.v2.UpdateServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a Service.
-     * This will cause the Service to stop serving traffic and will delete all
-     * revisions.
-     * 
- */ - public void deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM Access Control policy currently in effect for the given
-     * Cloud Run Service. This result does not include any inherited policies.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Service. Overwrites
-     * any existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Cloud Run Service Control Plane API
-   * 
- */ - public static final class ServicesBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ServicesBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServicesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new Service in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createService( - com.google.cloud.run.v2.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a Service.
-     * 
- */ - public com.google.cloud.run.v2.Service getService( - com.google.cloud.run.v2.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Services.
-     * 
- */ - public com.google.cloud.run.v2.ListServicesResponse listServices( - com.google.cloud.run.v2.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListServicesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a Service.
-     * 
- */ - public com.google.longrunning.Operation updateService( - com.google.cloud.run.v2.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a Service.
-     * This will cause the Service to stop serving traffic and will delete all
-     * revisions.
-     * 
- */ - public com.google.longrunning.Operation deleteService( - com.google.cloud.run.v2.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteServiceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM Access Control policy currently in effect for the given
-     * Cloud Run Service. This result does not include any inherited policies.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Service. Overwrites
-     * any existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Cloud Run Service Control Plane API
-   * 
- */ - public static final class ServicesFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ServicesFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ServicesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ServicesFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Creates a new Service in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createService(com.google.cloud.run.v2.CreateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a Service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getService(com.google.cloud.run.v2.GetServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Services.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListServicesResponse> - listServices(com.google.cloud.run.v2.ListServicesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListServicesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a Service.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateService(com.google.cloud.run.v2.UpdateServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a Service.
-     * This will cause the Service to stop serving traffic and will delete all
-     * revisions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteService(com.google.cloud.run.v2.DeleteServiceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM Access Control policy currently in effect for the given
-     * Cloud Run Service. This result does not include any inherited policies.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Sets the IAM Access control policy for the specified Service. Overwrites
-     * any existing policy.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns permissions that a caller has on the specified Project.
-     * There are no permissions required for making this API call.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_SERVICE = 0; - private static final int METHODID_GET_SERVICE = 1; - private static final int METHODID_LIST_SERVICES = 2; - private static final int METHODID_UPDATE_SERVICE = 3; - private static final int METHODID_DELETE_SERVICE = 4; - private static final int METHODID_GET_IAM_POLICY = 5; - private static final int METHODID_SET_IAM_POLICY = 6; - private static final int METHODID_TEST_IAM_PERMISSIONS = 7; - - 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 ServicesImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ServicesImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_SERVICE: - serviceImpl.createService( - (com.google.cloud.run.v2.CreateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_SERVICE: - serviceImpl.getService( - (com.google.cloud.run.v2.GetServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SERVICES: - serviceImpl.listServices( - (com.google.cloud.run.v2.ListServicesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_SERVICE: - serviceImpl.updateService( - (com.google.cloud.run.v2.UpdateServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SERVICE: - serviceImpl.deleteService( - (com.google.cloud.run.v2.DeleteServiceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ServicesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ServicesBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.run.v2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Services"); - } - } - - private static final class ServicesFileDescriptorSupplier extends ServicesBaseDescriptorSupplier { - ServicesFileDescriptorSupplier() {} - } - - private static final class ServicesMethodDescriptorSupplier extends ServicesBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ServicesMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ServicesGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ServicesFileDescriptorSupplier()) - .addMethod(getCreateServiceMethod()) - .addMethod(getGetServiceMethod()) - .addMethod(getListServicesMethod()) - .addMethod(getUpdateServiceMethod()) - .addMethod(getDeleteServiceMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java b/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java deleted file mode 100644 index b9d31faa669d..000000000000 --- a/java-run/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java +++ /dev/null @@ -1,448 +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. - */ -package com.google.cloud.run.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Cloud Run Task Control Plane API.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/run/v2/task.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class TasksGrpc { - - private TasksGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.run.v2.Tasks"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetTaskRequest, com.google.cloud.run.v2.Task> - getGetTaskMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTask", - requestType = com.google.cloud.run.v2.GetTaskRequest.class, - responseType = com.google.cloud.run.v2.Task.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.GetTaskRequest, com.google.cloud.run.v2.Task> - getGetTaskMethod() { - io.grpc.MethodDescriptor - getGetTaskMethod; - if ((getGetTaskMethod = TasksGrpc.getGetTaskMethod) == null) { - synchronized (TasksGrpc.class) { - if ((getGetTaskMethod = TasksGrpc.getGetTaskMethod) == null) { - TasksGrpc.getGetTaskMethod = - getGetTaskMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.GetTaskRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.Task.getDefaultInstance())) - .setSchemaDescriptor(new TasksMethodDescriptorSupplier("GetTask")) - .build(); - } - } - } - return getGetTaskMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListTasksRequest, com.google.cloud.run.v2.ListTasksResponse> - getListTasksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTasks", - requestType = com.google.cloud.run.v2.ListTasksRequest.class, - responseType = com.google.cloud.run.v2.ListTasksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListTasksRequest, com.google.cloud.run.v2.ListTasksResponse> - getListTasksMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.run.v2.ListTasksRequest, com.google.cloud.run.v2.ListTasksResponse> - getListTasksMethod; - if ((getListTasksMethod = TasksGrpc.getListTasksMethod) == null) { - synchronized (TasksGrpc.class) { - if ((getListTasksMethod = TasksGrpc.getListTasksMethod) == null) { - TasksGrpc.getListTasksMethod = - getListTasksMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListTasksRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.run.v2.ListTasksResponse.getDefaultInstance())) - .setSchemaDescriptor(new TasksMethodDescriptorSupplier("ListTasks")) - .build(); - } - } - } - return getListTasksMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static TasksStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksStub(channel, callOptions); - } - }; - return TasksStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static TasksBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TasksBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksBlockingStub(channel, callOptions); - } - }; - return TasksBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static TasksFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public TasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksFutureStub(channel, callOptions); - } - }; - return TasksFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Cloud Run Task Control Plane API.
-   * 
- */ - public abstract static class TasksImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Gets information about a Task.
-     * 
- */ - public void getTask( - com.google.cloud.run.v2.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Tasks from an Execution of a Job.
-     * 
- */ - public void listTasks( - com.google.cloud.run.v2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getGetTaskMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.GetTaskRequest, com.google.cloud.run.v2.Task>( - this, METHODID_GET_TASK))) - .addMethod( - getListTasksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.run.v2.ListTasksRequest, - com.google.cloud.run.v2.ListTasksResponse>(this, METHODID_LIST_TASKS))) - .build(); - } - } - - /** - * - * - *
-   * Cloud Run Task Control Plane API.
-   * 
- */ - public static final class TasksStub extends io.grpc.stub.AbstractAsyncStub { - private TasksStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TasksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Task.
-     * 
- */ - public void getTask( - com.google.cloud.run.v2.GetTaskRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists Tasks from an Execution of a Job.
-     * 
- */ - public void listTasks( - com.google.cloud.run.v2.ListTasksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * - * - *
-   * Cloud Run Task Control Plane API.
-   * 
- */ - public static final class TasksBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private TasksBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TasksBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Task.
-     * 
- */ - public com.google.cloud.run.v2.Task getTask(com.google.cloud.run.v2.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTaskMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Tasks from an Execution of a Job.
-     * 
- */ - public com.google.cloud.run.v2.ListTasksResponse listTasks( - com.google.cloud.run.v2.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTasksMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Cloud Run Task Control Plane API.
-   * 
- */ - public static final class TasksFutureStub - extends io.grpc.stub.AbstractFutureStub { - private TasksFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected TasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new TasksFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Gets information about a Task.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTask( - com.google.cloud.run.v2.GetTaskRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Tasks from an Execution of a Job.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.run.v2.ListTasksResponse> - listTasks(com.google.cloud.run.v2.ListTasksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTasksMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_GET_TASK = 0; - private static final int METHODID_LIST_TASKS = 1; - - 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 TasksImplBase serviceImpl; - private final int methodId; - - MethodHandlers(TasksImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_GET_TASK: - serviceImpl.getTask( - (com.google.cloud.run.v2.GetTaskRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TASKS: - serviceImpl.listTasks( - (com.google.cloud.run.v2.ListTasksRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class TasksBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - TasksBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.run.v2.TaskProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Tasks"); - } - } - - private static final class TasksFileDescriptorSupplier extends TasksBaseDescriptorSupplier { - TasksFileDescriptorSupplier() {} - } - - private static final class TasksMethodDescriptorSupplier extends TasksBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - TasksMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (TasksGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new TasksFileDescriptorSupplier()) - .addMethod(getGetTaskMethod()) - .addMethod(getListTasksMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java deleted file mode 100644 index 80b5b0c41ea0..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java +++ /dev/null @@ -1,113 +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/run/v2/condition.proto - -package com.google.cloud.run.v2; - -public final class ConditionProto { - private ConditionProto() {} - - 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_run_v2_Condition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Condition_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/run/v2/condition.proto\022\023g" - + "oogle.cloud.run.v2\032\037google/protobuf/time" - + "stamp.proto\"\344\013\n\tCondition\022\014\n\004type\030\001 \001(\t\022" - + "3\n\005state\030\002 \001(\0162$.google.cloud.run.v2.Con" - + "dition.State\022\017\n\007message\030\003 \001(\t\0228\n\024last_tr" - + "ansition_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestamp\0229\n\010severity\030\005 \001(\0162\'.google.cloud" - + ".run.v2.Condition.Severity\022=\n\006reason\030\006 \001" - + "(\0162+.google.cloud.run.v2.Condition.Commo" - + "nReasonH\000\022H\n\017revision_reason\030\t \001(\0162-.goo" - + "gle.cloud.run.v2.Condition.RevisionReaso" - + "nH\000\022J\n\020execution_reason\030\013 \001(\0162..google.c" - + "loud.run.v2.Condition.ExecutionReasonH\000\"" - + "\177\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\025\n\021CONDI" - + "TION_PENDING\020\001\022\031\n\025CONDITION_RECONCILING\020" - + "\002\022\024\n\020CONDITION_FAILED\020\003\022\027\n\023CONDITION_SUC" - + "CEEDED\020\004\"F\n\010Severity\022\030\n\024SEVERITY_UNSPECI" - + "FIED\020\000\022\t\n\005ERROR\020\001\022\013\n\007WARNING\020\002\022\010\n\004INFO\020\003" - + "\"\262\003\n\014CommonReason\022\033\n\027COMMON_REASON_UNDEF" - + "INED\020\000\022\013\n\007UNKNOWN\020\001\022\023\n\017REVISION_FAILED\020\003" - + "\022\036\n\032PROGRESS_DEADLINE_EXCEEDED\020\004\022\025\n\021CONT" - + "AINER_MISSING\020\006\022\037\n\033CONTAINER_PERMISSION_" - + "DENIED\020\007\022 \n\034CONTAINER_IMAGE_UNAUTHORIZED" - + "\020\010\022.\n*CONTAINER_IMAGE_AUTHORIZATION_CHEC" - + "K_FAILED\020\t\022$\n ENCRYPTION_KEY_PERMISSION_" - + "DENIED\020\n\022\037\n\033ENCRYPTION_KEY_CHECK_FAILED\020" - + "\013\022\037\n\033SECRETS_ACCESS_CHECK_FAILED\020\014\022\031\n\025WA" - + "ITING_FOR_OPERATION\020\r\022\023\n\017IMMEDIATE_RETRY" - + "\020\016\022\023\n\017POSTPONED_RETRY\020\017\022\014\n\010INTERNAL\020\020\"\257\002" - + "\n\016RevisionReason\022\035\n\031REVISION_REASON_UNDE" - + "FINED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RESERVE\020\002\022\013\n\007RET" - + "IRED\020\003\022\014\n\010RETIRING\020\004\022\016\n\nRECREATING\020\005\022 \n\034" - + "HEALTH_CHECK_CONTAINER_ERROR\020\006\022$\n CUSTOM" - + "IZED_PATH_RESPONSE_PENDING\020\007\022!\n\035MIN_INST" - + "ANCES_NOT_PROVISIONED\020\010\022!\n\035ACTIVE_REVISI" - + "ON_LIMIT_REACHED\020\t\022\021\n\rNO_DEPLOYMENT\020\n\022\030\n" - + "\024HEALTH_CHECK_SKIPPED\020\013\"~\n\017ExecutionReas" - + "on\022\036\n\032EXECUTION_REASON_UNDEFINED\020\000\022$\n JO" - + "B_STATUS_SERVICE_POLLING_ERROR\020\001\022\026\n\022NON_" - + "ZERO_EXIT_CODE\020\002\022\r\n\tCANCELLED\020\003B\t\n\007reaso" - + "nsBc\n\027com.google.cloud.run.v2B\016Condition" - + "ProtoP\001Z6google.golang.org/genproto/goog" - + "leapis/cloud/run/v2;runb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_Condition_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_Condition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Condition_descriptor, - new java.lang.String[] { - "Type", - "State", - "Message", - "LastTransitionTime", - "Severity", - "Reason", - "RevisionReason", - "ExecutionReason", - "Reasons", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java deleted file mode 100644 index 226471bccadd..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java +++ /dev/null @@ -1,252 +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/run/v2/execution.proto - -package com.google.cloud.run.v2; - -public final class ExecutionProto { - private ExecutionProto() {} - - 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_run_v2_GetExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Execution_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Execution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Execution_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_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/run/v2/execution.proto\022\023g" - + "oogle.cloud.run.v2\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032\037googl" - + "e/api/field_behavior.proto\032\035google/api/l" - + "aunch_stage.proto\032\031google/api/resource.p" - + "roto\032#google/cloud/run/v2/condition.prot" - + "o\032\'google/cloud/run/v2/task_template.pro" - + "to\032#google/longrunning/operations.proto\032" - + "\037google/protobuf/timestamp.proto\"I\n\023GetE" - + "xecutionRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034r" - + "un.googleapis.com/Execution\"\212\001\n\025ListExec" - + "utionsRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\022\034r" - + "un.googleapis.com/Execution\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_delet" - + "ed\030\004 \001(\010\"e\n\026ListExecutionsResponse\0222\n\nex" - + "ecutions\030\001 \003(\0132\036.google.cloud.run.v2.Exe" - + "cution\022\027\n\017next_page_token\030\002 \001(\t\"q\n\026Delet" - + "eExecutionRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n" - + "\034run.googleapis.com/Execution\022\025\n\rvalidat" - + "e_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t\"\214\t\n\tExecution" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\027\n" - + "\ngeneration\030\003 \001(\003B\003\340A\003\022:\n\006labels\030\004 \003(\0132*" - + ".google.cloud.run.v2.Execution.LabelsEnt" - + "ry\022D\n\013annotations\030\005 \003(\0132/.google.cloud.r" - + "un.v2.Execution.AnnotationsEntry\0224\n\013crea" - + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" - + "pB\003\340A\003\0223\n\nstart_time\030\026 \001(\0132\032.google.prot" - + "obuf.TimestampB\003\340A\003\0228\n\017completion_time\030\007" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\010 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0224\n\013delete_time\030\t \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013expire_time" - + "\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "-\n\014launch_stage\030\013 \001(\0162\027.google.api.Launc" - + "hStage\022+\n\003job\030\014 \001(\tB\036\340A\003\372A\030\n\026run.googlea" - + "pis.com/Job\022\030\n\013parallelism\030\r \001(\005B\003\340A\003\022\027\n" - + "\ntask_count\030\016 \001(\005B\003\340A\003\0228\n\010template\030\017 \001(\013" - + "2!.google.cloud.run.v2.TaskTemplateB\003\340A\003" - + "\022\030\n\013reconciling\030\020 \001(\010B\003\340A\003\0227\n\nconditions" - + "\030\021 \003(\0132\036.google.cloud.run.v2.ConditionB\003" - + "\340A\003\022 \n\023observed_generation\030\022 \001(\003B\003\340A\003\022\032\n" - + "\rrunning_count\030\023 \001(\005B\003\340A\003\022\034\n\017succeeded_c" - + "ount\030\024 \001(\005B\003\340A\003\022\031\n\014failed_count\030\025 \001(\005B\003\340" - + "A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotati" - + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + ":o\352Al\n\034run.googleapis.com/Execution\022Ipro" - + "jects/{project}/locations/{location}/job" - + "s/{job}/executions/{execution}R\001\0012\350\004\n\nEx" - + "ecutions\022\236\001\n\014GetExecution\022(.google.cloud" - + ".run.v2.GetExecutionRequest\032\036.google.clo" - + "ud.run.v2.Execution\"D\202\323\344\223\0027\0225/v2/{name=p" - + "rojects/*/locations/*/jobs/*/executions/" - + "*}\332A\004name\022\261\001\n\016ListExecutions\022*.google.cl" - + "oud.run.v2.ListExecutionsRequest\032+.googl" - + "e.cloud.run.v2.ListExecutionsResponse\"F\202" - + "\323\344\223\0027\0225/v2/{parent=projects/*/locations/" - + "*/jobs/*}/executions\332A\006parent\022\274\001\n\017Delete" - + "Execution\022+.google.cloud.run.v2.DeleteEx" - + "ecutionRequest\032\035.google.longrunning.Oper" - + "ation\"]\202\323\344\223\0027*5/v2/{name=projects/*/loca" - + "tions/*/jobs/*/executions/*}\332A\004name\312A\026\n\t" - + "Execution\022\tExecution\032F\312A\022run.googleapis." - + "com\322A.https://www.googleapis.com/auth/cl" - + "oud-platformBc\n\027com.google.cloud.run.v2B" - + "\016ExecutionProtoP\001Z6google.golang.org/gen" - + "proto/googleapis/cloud/run/v2;runb\006proto" - + "3" - }; - 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.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.run.v2.ConditionProto.getDescriptor(), - com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor, - new java.lang.String[] { - "Executions", "NextPageToken", - }); - internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_run_v2_Execution_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_Execution_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Execution_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Generation", - "Labels", - "Annotations", - "CreateTime", - "StartTime", - "CompletionTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "LaunchStage", - "Job", - "Parallelism", - "TaskCount", - "Template", - "Reconciling", - "Conditions", - "ObservedGeneration", - "RunningCount", - "SucceededCount", - "FailedCount", - "Etag", - }); - internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_Execution_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_Execution_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_Execution_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.run.v2.ConditionProto.getDescriptor(); - com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java deleted file mode 100644 index a1643de63edf..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java +++ /dev/null @@ -1,109 +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/run/v2/execution_template.proto - -package com.google.cloud.run.v2; - -public final class ExecutionTemplateProto { - private ExecutionTemplateProto() {} - - 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_run_v2_ExecutionTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_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/run/v2/execution_template" - + ".proto\022\023google.cloud.run.v2\032\037google/api/" - + "field_behavior.proto\032\'google/cloud/run/v" - + "2/task_template.proto\"\353\002\n\021ExecutionTempl" - + "ate\022B\n\006labels\030\001 \003(\01322.google.cloud.run.v" - + "2.ExecutionTemplate.LabelsEntry\022L\n\013annot" - + "ations\030\002 \003(\01327.google.cloud.run.v2.Execu" - + "tionTemplate.AnnotationsEntry\022\023\n\013paralle" - + "lism\030\003 \001(\005\022\022\n\ntask_count\030\004 \001(\005\0228\n\010templa" - + "te\030\005 \001(\0132!.google.cloud.run.v2.TaskTempl" - + "ateB\003\340A\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001Bk\n\027com.googl" - + "e.cloud.run.v2B\026ExecutionTemplateProtoP\001" - + "Z6google.golang.org/genproto/googleapis/" - + "cloud/run/v2;runb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor, - new java.lang.String[] { - "Labels", "Annotations", "Parallelism", "TaskCount", "Template", - }); - internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java deleted file mode 100644 index ced215d3f290..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +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/run/v2/execution.proto - -package com.google.cloud.run.v2; - -public interface GetExecutionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full name of the Execution.
-   * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full name of the Execution.
-   * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
-   * 
- * - * - * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java deleted file mode 100644 index 78d2469ac30d..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto - -package com.google.cloud.run.v2; - -public interface GetJobRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetJobRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
-   * 
- * - * - * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java deleted file mode 100644 index 370fcb971c76..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java +++ /dev/null @@ -1,58 +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/run/v2/revision.proto - -package com.google.cloud.run.v2; - -public interface GetRevisionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetRevisionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full name of the Revision.
-   * Format:
-   * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full name of the Revision.
-   * Format:
-   * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
-   * 
- * - * - * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java deleted file mode 100644 index 86a7618df64f..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.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/run/v2/service.proto - -package com.google.cloud.run.v2; - -public interface GetServiceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetServiceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
-   * 
- * - * - * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java deleted file mode 100644 index be81363612a2..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java +++ /dev/null @@ -1,58 +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/run/v2/task.proto - -package com.google.cloud.run.v2; - -public interface GetTaskRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetTaskRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The full name of the Task.
-   * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The full name of the Task.
-   * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
-   * 
- * - * - * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java deleted file mode 100644 index 8c6298825459..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java +++ /dev/null @@ -1,341 +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/run/v2/job.proto - -package com.google.cloud.run.v2; - -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_run_v2_CreateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_GetJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_RunJobRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Job_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Job_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ExecutionReference_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ExecutionReference_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\035google/cloud/run/v2/job.proto\022\023google." - + "cloud.run.v2\032\034google/api/annotations.pro" - + "to\032\027google/api/client.proto\032\037google/api/" - + "field_behavior.proto\032\035google/api/launch_" - + "stage.proto\032\031google/api/resource.proto\032#" - + "google/cloud/run/v2/condition.proto\032,goo" - + "gle/cloud/run/v2/execution_template.prot" - + "o\032)google/cloud/run/v2/vendor_settings.p" - + "roto\032\036google/iam/v1/iam_policy.proto\032\032go" - + "ogle/iam/v1/policy.proto\032#google/longrun" - + "ning/operations.proto\032\037google/protobuf/t" - + "imestamp.proto\"\232\001\n\020CreateJobRequest\022.\n\006p" - + "arent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googleapis.com/" - + "Job\022*\n\003job\030\002 \001(\0132\030.google.cloud.run.v2.J" - + "obB\003\340A\002\022\023\n\006job_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate" - + "_only\030\004 \001(\010\"=\n\rGetJobRequest\022,\n\004name\030\001 \001" - + "(\tB\036\340A\002\372A\030\n\026run.googleapis.com/Job\"l\n\020Up" - + "dateJobRequest\022*\n\003job\030\001 \001(\0132\030.google.clo" - + "ud.run.v2.JobB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(" - + "\010\022\025\n\rallow_missing\030\004 \001(\010\"~\n\017ListJobsRequ" - + "est\022.\n\006parent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googlea" - + "pis.com/Job\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001(\010\"S\n\020List" - + "JobsResponse\022&\n\004jobs\030\001 \003(\0132\030.google.clou" - + "d.run.v2.Job\022\027\n\017next_page_token\030\002 \001(\t\"e\n" - + "\020DeleteJobRequest\022,\n\004name\030\001 \001(\tB\036\340A\002\372A\030\n" - + "\026run.googleapis.com/Job\022\025\n\rvalidate_only" - + "\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"b\n\rRunJobRequest\022,\n" - + "\004name\030\001 \001(\tB\036\340A\002\372A\030\n\026run.googleapis.com/" - + "Job\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t" - + "\"\212\t\n\003Job\022\014\n\004name\030\001 \001(\t\022\020\n\003uid\030\002 \001(\tB\003\340A\003" - + "\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0224\n\006labels\030\004 \003(" - + "\0132$.google.cloud.run.v2.Job.LabelsEntry\022" - + ">\n\013annotations\030\005 \003(\0132).google.cloud.run." - + "v2.Job.AnnotationsEntry\0224\n\013create_time\030\006" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\0224\n\013delete_time\030\010 \001(\0132\032.googl" - + "e.protobuf.TimestampB\003\340A\003\0224\n\013expire_time" - + "\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" - + "\024\n\007creator\030\n \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\013" - + " \001(\tB\003\340A\003\022\016\n\006client\030\014 \001(\t\022\026\n\016client_vers" - + "ion\030\r \001(\t\022-\n\014launch_stage\030\016 \001(\0162\027.google" - + ".api.LaunchStage\022F\n\024binary_authorization" - + "\030\017 \001(\0132(.google.cloud.run.v2.BinaryAutho" - + "rization\022=\n\010template\030\020 \001(\0132&.google.clou" - + "d.run.v2.ExecutionTemplateB\003\340A\002\022 \n\023obser" - + "ved_generation\030\021 \001(\003B\003\340A\003\022?\n\022terminal_co" - + "ndition\030\022 \001(\0132\036.google.cloud.run.v2.Cond" - + "itionB\003\340A\003\0227\n\nconditions\030\023 \003(\0132\036.google." - + "cloud.run.v2.ConditionB\003\340A\003\022\034\n\017execution" - + "_count\030\024 \001(\005B\003\340A\003\022N\n\030latest_created_exec" - + "ution\030\026 \001(\0132\'.google.cloud.run.v2.Execut" - + "ionReferenceB\003\340A\003\022\030\n\013reconciling\030\027 \001(\010B\003" - + "\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotat" - + "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001:R\352AO\n\026run.googleapis.com/Job\0222projects" - + "/{project}/locations/{location}/jobs/{jo" - + "b}R\001\001\"\253\001\n\022ExecutionReference\022/\n\004name\030\001 \001" - + "(\tB!\372A\036\n\034run.googleapis.com/Execution\022/\n" - + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" - + "estamp\0223\n\017completion_time\030\003 \001(\0132\032.google" - + ".protobuf.Timestamp2\314\013\n\004Jobs\022\251\001\n\tCreateJ" - + "ob\022%.google.cloud.run.v2.CreateJobReques" - + "t\032\035.google.longrunning.Operation\"V\202\323\344\223\002/" - + "\"(/v2/{parent=projects/*/locations/*}/jo" - + "bs:\003job\332A\021parent,job,job_id\312A\n\n\003Job\022\003Job" - + "\022\177\n\006GetJob\022\".google.cloud.run.v2.GetJobR" - + "equest\032\030.google.cloud.run.v2.Job\"7\202\323\344\223\002*" - + "\022(/v2/{name=projects/*/locations/*/jobs/" - + "*}\332A\004name\022\222\001\n\010ListJobs\022$.google.cloud.ru" - + "n.v2.ListJobsRequest\032%.google.cloud.run." - + "v2.ListJobsResponse\"9\202\323\344\223\002*\022(/v2/{parent" - + "=projects/*/locations/*}/jobs\332A\006parent\022\237" - + "\001\n\tUpdateJob\022%.google.cloud.run.v2.Updat" - + "eJobRequest\032\035.google.longrunning.Operati" - + "on\"L\202\323\344\223\00232,/v2/{job.name=projects/*/loc" - + "ations/*/jobs/*}:\003job\332A\003job\312A\n\n\003Job\022\003Job" - + "\022\227\001\n\tDeleteJob\022%.google.cloud.run.v2.Del" - + "eteJobRequest\032\035.google.longrunning.Opera" - + "tion\"D\202\323\344\223\002**(/v2/{name=projects/*/locat" - + "ions/*/jobs/*}\332A\004name\312A\n\n\003Job\022\003Job\022\244\001\n\006R" - + "unJob\022\".google.cloud.run.v2.RunJobReques" - + "t\032\035.google.longrunning.Operation\"W\202\323\344\223\0021" - + "\",/v2/{name=projects/*/locations/*/jobs/" - + "*}:run:\001*\332A\004name\312A\026\n\tExecution\022\tExecutio" - + "n\022\214\001\n\014GetIamPolicy\022\".google.iam.v1.GetIa" - + "mPolicyRequest\032\025.google.iam.v1.Policy\"A\202" - + "\323\344\223\002;\0229/v2/{resource=projects/*/location" - + "s/*/jobs/*}:getIamPolicy\022\217\001\n\014SetIamPolic" - + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025." - + "google.iam.v1.Policy\"D\202\323\344\223\002>\"9/v2/{resou" - + "rce=projects/*/locations/*/jobs/*}:setIa" - + "mPolicy:\001*\022\265\001\n\022TestIamPermissions\022(.goog" - + "le.iam.v1.TestIamPermissionsRequest\032).go" - + "ogle.iam.v1.TestIamPermissionsResponse\"J" - + "\202\323\344\223\002D\"?/v2/{resource=projects/*/locatio" - + "ns/*/jobs/*}:testIamPermissions:\001*\032F\312A\022r" - + "un.googleapis.com\322A.https://www.googleap" - + "is.com/auth/cloud-platformB]\n\027com.google" - + ".cloud.run.v2B\010JobProtoP\001Z6google.golang" - + ".org/genproto/googleapis/cloud/run/v2;ru" - + "nb\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.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.run.v2.ConditionProto.getDescriptor(), - com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_CreateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_CreateJobRequest_descriptor, - new java.lang.String[] { - "Parent", "Job", "JobId", "ValidateOnly", - }); - internal_static_google_cloud_run_v2_GetJobRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_GetJobRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor, - new java.lang.String[] { - "Job", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_run_v2_ListJobsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListJobsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_cloud_run_v2_ListJobsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListJobsResponse_descriptor, - new java.lang.String[] { - "Jobs", "NextPageToken", - }); - internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_run_v2_RunJobRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_RunJobRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_run_v2_Job_descriptor = getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_run_v2_Job_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Job_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Generation", - "Labels", - "Annotations", - "CreateTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "Creator", - "LastModifier", - "Client", - "ClientVersion", - "LaunchStage", - "BinaryAuthorization", - "Template", - "ObservedGeneration", - "TerminalCondition", - "Conditions", - "ExecutionCount", - "LatestCreatedExecution", - "Reconciling", - "Etag", - }); - internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_ExecutionReference_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ExecutionReference_descriptor, - new java.lang.String[] { - "Name", "CreateTime", "CompletionTime", - }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.run.v2.ConditionProto.getDescriptor(); - com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java deleted file mode 100644 index 18a11fdfc40c..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java +++ /dev/null @@ -1,329 +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/run/v2/k8s.min.proto - -package com.google.cloud.run.v2; - -public final class K8sMinProto { - private K8sMinProto() {} - - 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_run_v2_Container_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Container_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_EnvVar_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_EnvVarSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ContainerPort_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_VolumeMount_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Volume_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Volume_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_VersionToPath_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Probe_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Probe_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_HTTPHeader_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_TCPSocketAction_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/run/v2/k8s.min.proto\022\023goo" - + "gle.cloud.run.v2\032\037google/api/field_behav" - + "ior.proto\032\031google/api/resource.proto\"\234\003\n" - + "\tContainer\022\014\n\004name\030\001 \001(\t\022\022\n\005image\030\002 \001(\tB" - + "\003\340A\002\022\017\n\007command\030\003 \003(\t\022\014\n\004args\030\004 \003(\t\022(\n\003e" - + "nv\030\005 \003(\0132\033.google.cloud.run.v2.EnvVar\022<\n" - + "\tresources\030\006 \001(\0132).google.cloud.run.v2.R" - + "esourceRequirements\0221\n\005ports\030\007 \003(\0132\".goo" - + "gle.cloud.run.v2.ContainerPort\0227\n\rvolume" - + "_mounts\030\010 \003(\0132 .google.cloud.run.v2.Volu" - + "meMount\022\023\n\013working_dir\030\t \001(\t\0222\n\016liveness" - + "_probe\030\n \001(\0132\032.google.cloud.run.v2.Probe" - + "\0221\n\rstartup_probe\030\013 \001(\0132\032.google.cloud.r" - + "un.v2.Probe\"\236\001\n\024ResourceRequirements\022E\n\006" - + "limits\030\001 \003(\01325.google.cloud.run.v2.Resou" - + "rceRequirements.LimitsEntry\022\020\n\010cpu_idle\030" - + "\002 \001(\010\032-\n\013LimitsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - + "ue\030\002 \001(\t:\0028\001\"q\n\006EnvVar\022\021\n\004name\030\001 \001(\tB\003\340A" - + "\002\022\017\n\005value\030\002 \001(\tH\000\0229\n\014value_source\030\003 \001(\013" - + "2!.google.cloud.run.v2.EnvVarSourceH\000B\010\n" - + "\006values\"N\n\014EnvVarSource\022>\n\016secret_key_re" - + "f\030\001 \001(\0132&.google.cloud.run.v2.SecretKeyS" - + "elector\"\222\001\n\021SecretKeySelector\022;\n\006secret\030" - + "\001 \001(\tB+\340A\002\372A%\n#secretmanager.googleapis." - + "com/Secret\022@\n\007version\030\002 \001(\tB/\372A,\n*secret" - + "manager.googleapis.com/SecretVersion\"5\n\r" - + "ContainerPort\022\014\n\004name\030\001 \001(\t\022\026\n\016container" - + "_port\030\003 \001(\005\"9\n\013VolumeMount\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\002\022\027\n\nmount_path\030\003 \001(\tB\003\340A\002\"\252\001\n\006Volum" - + "e\022\021\n\004name\030\001 \001(\tB\003\340A\002\0229\n\006secret\030\002 \001(\0132\'.g" - + "oogle.cloud.run.v2.SecretVolumeSourceH\000\022" - + "C\n\022cloud_sql_instance\030\003 \001(\0132%.google.clo" - + "ud.run.v2.CloudSqlInstanceH\000B\r\n\013volume_t" - + "ype\"r\n\022SecretVolumeSource\022\023\n\006secret\030\001 \001(" - + "\tB\003\340A\002\0221\n\005items\030\002 \003(\0132\".google.cloud.run" - + ".v2.VersionToPath\022\024\n\014default_mode\030\003 \001(\005\"" - + "A\n\rVersionToPath\022\021\n\004path\030\001 \001(\tB\003\340A\002\022\017\n\007v" - + "ersion\030\002 \001(\t\022\014\n\004mode\030\003 \001(\005\"%\n\020CloudSqlIn" - + "stance\022\021\n\tinstances\030\001 \003(\t\"\364\001\n\005Probe\022\035\n\025i" - + "nitial_delay_seconds\030\001 \001(\005\022\027\n\017timeout_se" - + "conds\030\002 \001(\005\022\026\n\016period_seconds\030\003 \001(\005\022\031\n\021f" - + "ailure_threshold\030\004 \001(\005\0226\n\010http_get\030\005 \001(\013" - + "2\".google.cloud.run.v2.HTTPGetActionH\000\022:" - + "\n\ntcp_socket\030\006 \001(\0132$.google.cloud.run.v2" - + ".TCPSocketActionH\000B\014\n\nprobe_type\"T\n\rHTTP" - + "GetAction\022\014\n\004path\030\001 \001(\t\0225\n\014http_headers\030" - + "\004 \003(\0132\037.google.cloud.run.v2.HTTPHeader\"." - + "\n\nHTTPHeader\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\r\n\005value" - + "\030\002 \001(\t\"\037\n\017TCPSocketAction\022\014\n\004port\030\001 \001(\005B" - + "\366\003\n\027com.google.cloud.run.v2B\013K8sMinProto" - + "P\001Z6google.golang.org/genproto/googleapi" - + "s/cloud/run/v2;run\352Ax\n!cloudkms.googleap" - + "is.com/CryptoKey\022Sprojects/{project}/loc" - + "ations/{location}/keyRings/{key_ring}/cr" - + "yptoKeys/{crypto_key}\352AJ\n#secretmanager." - + "googleapis.com/Secret\022#projects/{project" - + "}/secrets/{secret}\352Ad\n*secretmanager.goo" - + "gleapis.com/SecretVersion\0226projects/{pro" - + "ject}/secrets/{secret}/versions/{version" - + "}\352Ad\n\"vpcaccess.googleapis.com/Connector" - + "\022>projects/{project}/locations/{location" - + "}/connectors/{connector}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_Container_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_Container_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Container_descriptor, - new java.lang.String[] { - "Name", - "Image", - "Command", - "Args", - "Env", - "Resources", - "Ports", - "VolumeMounts", - "WorkingDir", - "LivenessProbe", - "StartupProbe", - }); - internal_static_google_cloud_run_v2_ResourceRequirements_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ResourceRequirements_descriptor, - new java.lang.String[] { - "Limits", "CpuIdle", - }); - internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor = - internal_static_google_cloud_run_v2_ResourceRequirements_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_EnvVar_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_EnvVar_descriptor, - new java.lang.String[] { - "Name", "Value", "ValueSource", "Values", - }); - internal_static_google_cloud_run_v2_EnvVarSource_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_EnvVarSource_descriptor, - new java.lang.String[] { - "SecretKeyRef", - }); - internal_static_google_cloud_run_v2_SecretKeySelector_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_SecretKeySelector_descriptor, - new java.lang.String[] { - "Secret", "Version", - }); - internal_static_google_cloud_run_v2_ContainerPort_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ContainerPort_descriptor, - new java.lang.String[] { - "Name", "ContainerPort", - }); - internal_static_google_cloud_run_v2_VolumeMount_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_VolumeMount_descriptor, - new java.lang.String[] { - "Name", "MountPath", - }); - internal_static_google_cloud_run_v2_Volume_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_run_v2_Volume_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Volume_descriptor, - new java.lang.String[] { - "Name", "Secret", "CloudSqlInstance", "VolumeType", - }); - internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor, - new java.lang.String[] { - "Secret", "Items", "DefaultMode", - }); - internal_static_google_cloud_run_v2_VersionToPath_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_VersionToPath_descriptor, - new java.lang.String[] { - "Path", "Version", "Mode", - }); - internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor, - new java.lang.String[] { - "Instances", - }); - internal_static_google_cloud_run_v2_Probe_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_run_v2_Probe_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Probe_descriptor, - new java.lang.String[] { - "InitialDelaySeconds", - "TimeoutSeconds", - "PeriodSeconds", - "FailureThreshold", - "HttpGet", - "TcpSocket", - "ProbeType", - }); - internal_static_google_cloud_run_v2_HTTPGetAction_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_HTTPGetAction_descriptor, - new java.lang.String[] { - "Path", "HttpHeaders", - }); - internal_static_google_cloud_run_v2_HTTPHeader_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_HTTPHeader_descriptor, - new java.lang.String[] { - "Name", "Value", - }); - internal_static_google_cloud_run_v2_TCPSocketAction_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_TCPSocketAction_descriptor, - new java.lang.String[] { - "Port", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - 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.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java deleted file mode 100644 index 34a5a4563c97..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java +++ /dev/null @@ -1,117 +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/run/v2/k8s.min.proto - -package com.google.cloud.run.v2; - -public interface ResourceRequirementsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ResourceRequirements) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
-   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
-   * 
- * - * map<string, string> limits = 1; - */ - int getLimitsCount(); - /** - * - * - *
-   * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
-   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
-   * 
- * - * map<string, string> limits = 1; - */ - boolean containsLimits(java.lang.String key); - /** Use {@link #getLimitsMap()} instead. */ - @java.lang.Deprecated - java.util.Map getLimits(); - /** - * - * - *
-   * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
-   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
-   * 
- * - * map<string, string> limits = 1; - */ - java.util.Map getLimitsMap(); - /** - * - * - *
-   * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
-   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
-   * 
- * - * map<string, string> limits = 1; - */ - - /* nullable */ - java.lang.String getLimitsOrDefault( - java.lang.String key, - /* nullable */ - java.lang.String defaultValue); - /** - * - * - *
-   * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
-   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
-   * 
- * - * map<string, string> limits = 1; - */ - java.lang.String getLimitsOrThrow(java.lang.String key); - - /** - * - * - *
-   * Determines whether CPU should be throttled or not outside of requests.
-   * 
- * - * bool cpu_idle = 2; - * - * @return The cpuIdle. - */ - boolean getCpuIdle(); -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java deleted file mode 100644 index 9e62e90a7b21..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java +++ /dev/null @@ -1,271 +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/run/v2/revision.proto - -package com.google.cloud.run.v2; - -public final class RevisionProto { - private RevisionProto() {} - - 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_run_v2_GetRevisionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Revision_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Revision_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_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/run/v2/revision.proto\022\023go" - + "ogle.cloud.run.v2\032\034google/api/annotation" - + "s.proto\032\027google/api/client.proto\032\037google" - + "/api/field_behavior.proto\032\035google/api/la" - + "unch_stage.proto\032\031google/api/resource.pr" - + "oto\032\030google/api/routing.proto\032#google/cl" - + "oud/run/v2/condition.proto\032!google/cloud" - + "/run/v2/k8s.min.proto\032)google/cloud/run/" - + "v2/vendor_settings.proto\032#google/longrun" - + "ning/operations.proto\032\036google/protobuf/d" - + "uration.proto\032\037google/protobuf/timestamp" - + ".proto\"G\n\022GetRevisionRequest\0221\n\004name\030\001 \001" - + "(\tB#\340A\002\372A\035\n\033run.googleapis.com/Revision\"" - + "\210\001\n\024ListRevisionsRequest\0223\n\006parent\030\001 \001(\t" - + "B#\340A\002\372A\035\022\033run.googleapis.com/Revision\022\021\n" - + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014" - + "show_deleted\030\004 \001(\010\"b\n\025ListRevisionsRespo" - + "nse\0220\n\trevisions\030\001 \003(\0132\035.google.cloud.ru" - + "n.v2.Revision\022\027\n\017next_page_token\030\002 \001(\t\"o" - + "\n\025DeleteRevisionRequest\0221\n\004name\030\001 \001(\tB#\340" - + "A\002\372A\035\n\033run.googleapis.com/Revision\022\025\n\rva" - + "lidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t\"\301\n\n\010Revi" - + "sion\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A" - + "\003\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0229\n\006labels\030\004 \003" - + "(\0132).google.cloud.run.v2.Revision.Labels" - + "Entry\022C\n\013annotations\030\005 \003(\0132..google.clou" - + "d.run.v2.Revision.AnnotationsEntry\0224\n\013cr" - + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "ampB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\010 " - + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" - + "expire_time\030\t \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\022-\n\014launch_stage\030\n \001(\0162\027.googl" - + "e.api.LaunchStage\0223\n\007service\030\013 \001(\tB\"\340A\003\372" - + "A\034\n\032run.googleapis.com/Service\0225\n\007scalin" - + "g\030\014 \001(\0132$.google.cloud.run.v2.RevisionSc" - + "aling\0222\n\nvpc_access\030\r \001(\0132\036.google.cloud" - + ".run.v2.VpcAccess\022(\n max_instance_reques" - + "t_concurrency\030\" \001(\005\022*\n\007timeout\030\017 \001(\0132\031.g" - + "oogle.protobuf.Duration\022\027\n\017service_accou" - + "nt\030\020 \001(\t\0222\n\ncontainers\030\021 \003(\0132\036.google.cl" - + "oud.run.v2.Container\022,\n\007volumes\030\022 \003(\0132\033." - + "google.cloud.run.v2.Volume\022H\n\025execution_" - + "environment\030\024 \001(\0162).google.cloud.run.v2." - + "ExecutionEnvironment\022>\n\016encryption_key\030\025" - + " \001(\tB&\372A#\n!cloudkms.googleapis.com/Crypt" - + "oKey\022\030\n\013reconciling\030\036 \001(\010B\003\340A\003\0227\n\ncondit" - + "ions\030\037 \003(\0132\036.google.cloud.run.v2.Conditi" - + "onB\003\340A\003\022 \n\023observed_generation\030 \001(\003B\003\340A" - + "\003\022\024\n\007log_uri\030! \001(\tB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340" - + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\033run.googleap" - + "is.com/Revision\022Oprojects/{project}/loca" - + "tions/{location}/services/{service}/revi" - + "sions/{revision}R\001\0012\205\006\n\tRevisions\022\322\001\n\013Ge" - + "tRevision\022\'.google.cloud.run.v2.GetRevis" - + "ionRequest\032\035.google.cloud.run.v2.Revisio" - + "n\"{\202\323\344\223\002:\0228/v2/{name=projects/*/location" - + "s/*/services/*/revisions/*}\212\323\344\223\002.\022,\n\004nam" - + "e\022$projects/*/locations/{location=*}/**\332" - + "A\004name\022\347\001\n\rListRevisions\022).google.cloud." - + "run.v2.ListRevisionsRequest\032*.google.clo" - + "ud.run.v2.ListRevisionsResponse\"\177\202\323\344\223\002:\022" - + "8/v2/{parent=projects/*/locations/*/serv" - + "ices/*}/revisions\212\323\344\223\0020\022.\n\006parent\022$proje" - + "cts/*/locations/{location=*}/**\332A\006parent" - + "\022\360\001\n\016DeleteRevision\022*.google.cloud.run.v" - + "2.DeleteRevisionRequest\032\035.google.longrun" - + "ning.Operation\"\222\001\202\323\344\223\002:*8/v2/{name=proje" - + "cts/*/locations/*/services/*/revisions/*" - + "}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{l" - + "ocation=*}/**\332A\004name\312A\024\n\010Revision\022\010Revis" - + "ion\032F\312A\022run.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformBb\n\027c" - + "om.google.cloud.run.v2B\rRevisionProtoP\001Z" - + "6google.golang.org/genproto/googleapis/c" - + "loud/run/v2;runb\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.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.api.RoutingProto.getDescriptor(), - com.google.cloud.run.v2.ConditionProto.getDescriptor(), - com.google.cloud.run.v2.K8sMinProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor, - new java.lang.String[] { - "Revisions", "NextPageToken", - }); - internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_run_v2_Revision_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_Revision_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Revision_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Generation", - "Labels", - "Annotations", - "CreateTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "LaunchStage", - "Service", - "Scaling", - "VpcAccess", - "MaxInstanceRequestConcurrency", - "Timeout", - "ServiceAccount", - "Containers", - "Volumes", - "ExecutionEnvironment", - "EncryptionKey", - "Reconciling", - "Conditions", - "ObservedGeneration", - "LogUri", - "Etag", - }); - internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.api.RoutingProto.routing); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.RoutingProto.getDescriptor(); - com.google.cloud.run.v2.ConditionProto.getDescriptor(); - com.google.cloud.run.v2.K8sMinProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java deleted file mode 100644 index b25c31923964..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java +++ /dev/null @@ -1,136 +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/run/v2/revision_template.proto - -package com.google.cloud.run.v2; - -public final class RevisionTemplateProto { - private RevisionTemplateProto() {} - - 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_run_v2_RevisionTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_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/run/v2/revision_template." - + "proto\022\023google.cloud.run.v2\032\031google/api/r" - + "esource.proto\032!google/cloud/run/v2/k8s.m" - + "in.proto\032)google/cloud/run/v2/vendor_set" - + "tings.proto\032\036google/protobuf/duration.pr" - + "oto\"\377\005\n\020RevisionTemplate\0222\n\010revision\030\001 \001" - + "(\tB \372A\035\n\033run.googleapis.com/Revision\022A\n\006" - + "labels\030\002 \003(\01321.google.cloud.run.v2.Revis" - + "ionTemplate.LabelsEntry\022K\n\013annotations\030\003" - + " \003(\01326.google.cloud.run.v2.RevisionTempl" - + "ate.AnnotationsEntry\0225\n\007scaling\030\004 \001(\0132$." - + "google.cloud.run.v2.RevisionScaling\0222\n\nv" - + "pc_access\030\006 \001(\0132\036.google.cloud.run.v2.Vp" - + "cAccess\022*\n\007timeout\030\010 \001(\0132\031.google.protob" - + "uf.Duration\022\027\n\017service_account\030\t \001(\t\0222\n\n" - + "containers\030\n \003(\0132\036.google.cloud.run.v2.C" - + "ontainer\022,\n\007volumes\030\013 \003(\0132\033.google.cloud" - + ".run.v2.Volume\022H\n\025execution_environment\030" - + "\r \001(\0162).google.cloud.run.v2.ExecutionEnv" - + "ironment\022>\n\016encryption_key\030\016 \001(\tB&\372A#\n!c" - + "loudkms.googleapis.com/CryptoKey\022(\n max_" - + "instance_request_concurrency\030\017 \001(\005\032-\n\013La" - + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001Bj\n\027com.google.cloud.run.v2" - + "B\025RevisionTemplateProtoP\001Z6google.golang" - + ".org/genproto/googleapis/cloud/run/v2;ru" - + "nb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.run.v2.K8sMinProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_RevisionTemplate_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_RevisionTemplate_descriptor, - new java.lang.String[] { - "Revision", - "Labels", - "Annotations", - "Scaling", - "VpcAccess", - "Timeout", - "ServiceAccount", - "Containers", - "Volumes", - "ExecutionEnvironment", - "EncryptionKey", - "MaxInstanceRequestConcurrency", - }); - internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.run.v2.K8sMinProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java deleted file mode 100644 index 13250613bb93..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java +++ /dev/null @@ -1,337 +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/run/v2/service.proto - -package com.google.cloud.run.v2; - -public final class ServiceProto { - private ServiceProto() {} - - 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_run_v2_CreateServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Service_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Service_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Service_AnnotationsEntry_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/run/v2/service.proto\022\023goo" - + "gle.cloud.run.v2\032\034google/api/annotations" - + ".proto\032\027google/api/client.proto\032\037google/" - + "api/field_behavior.proto\032\035google/api/lau" - + "nch_stage.proto\032\031google/api/resource.pro" - + "to\032\030google/api/routing.proto\032#google/clo" - + "ud/run/v2/condition.proto\032+google/cloud/" - + "run/v2/revision_template.proto\032(google/c" - + "loud/run/v2/traffic_target.proto\032)google" - + "/cloud/run/v2/vendor_settings.proto\032\036goo" - + "gle/iam/v1/iam_policy.proto\032\032google/iam/" - + "v1/policy.proto\032#google/longrunning/oper" - + "ations.proto\032\037google/protobuf/timestamp." - + "proto\"\256\001\n\024CreateServiceRequest\0222\n\006parent" - + "\030\001 \001(\tB\"\340A\002\372A\034\022\032run.googleapis.com/Servi" - + "ce\0222\n\007service\030\002 \001(\0132\034.google.cloud.run.v" - + "2.ServiceB\003\340A\002\022\027\n\nservice_id\030\003 \001(\tB\003\340A\002\022" - + "\025\n\rvalidate_only\030\004 \001(\010\"x\n\024UpdateServiceR" - + "equest\0222\n\007service\030\001 \001(\0132\034.google.cloud.r" - + "un.v2.ServiceB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(" - + "\010\022\025\n\rallow_missing\030\004 \001(\010\"\206\001\n\023ListService" - + "sRequest\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\022\032run.go" - + "ogleapis.com/Service\022\021\n\tpage_size\030\002 \001(\005\022" - + "\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001(" - + "\010\"_\n\024ListServicesResponse\022.\n\010services\030\001 " - + "\003(\0132\034.google.cloud.run.v2.Service\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\"E\n\021GetServiceRequest\022" - + "0\n\004name\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.co" - + "m/Service\"m\n\024DeleteServiceRequest\0220\n\004nam" - + "e\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.com/Serv" - + "ice\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t" - + "\"\230\013\n\007Service\022\014\n\004name\030\001 \001(\t\022\023\n\013descriptio" - + "n\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\022\027\n\ngeneration\030" - + "\004 \001(\003B\003\340A\003\0228\n\006labels\030\005 \003(\0132(.google.clou" - + "d.run.v2.Service.LabelsEntry\022B\n\013annotati" - + "ons\030\006 \003(\0132-.google.cloud.run.v2.Service." - + "AnnotationsEntry\0224\n\013create_time\030\007 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" - + "_time\030\010 \001(\0132\032.google.protobuf.TimestampB" - + "\003\340A\003\0224\n\013delete_time\030\t \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\0224\n\013expire_time\030\n \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\003\022\024\n\007crea" - + "tor\030\013 \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\014 \001(\tB\003\340" - + "A\003\022\016\n\006client\030\r \001(\t\022\026\n\016client_version\030\016 \001" - + "(\t\0224\n\007ingress\030\017 \001(\0162#.google.cloud.run.v" - + "2.IngressTraffic\022-\n\014launch_stage\030\020 \001(\0162\027" - + ".google.api.LaunchStage\022F\n\024binary_author" - + "ization\030\021 \001(\0132(.google.cloud.run.v2.Bina" - + "ryAuthorization\022<\n\010template\030\022 \001(\0132%.goog" - + "le.cloud.run.v2.RevisionTemplateB\003\340A\002\0223\n" - + "\007traffic\030\023 \003(\0132\".google.cloud.run.v2.Tra" - + "fficTarget\022 \n\023observed_generation\030\036 \001(\003B" - + "\003\340A\003\022?\n\022terminal_condition\030\037 \001(\0132\036.googl" - + "e.cloud.run.v2.ConditionB\003\340A\003\0227\n\nconditi" - + "ons\030 \003(\0132\036.google.cloud.run.v2.Conditio" - + "nB\003\340A\003\022B\n\025latest_ready_revision\030! \001(\tB#\340" - + "A\003\372A\035\n\033run.googleapis.com/Revision\022D\n\027la" - + "test_created_revision\030\" \001(\tB#\340A\003\372A\035\n\033run" - + ".googleapis.com/Revision\022G\n\020traffic_stat" - + "uses\030# \003(\0132(.google.cloud.run.v2.Traffic" - + "TargetStatusB\003\340A\003\022\020\n\003uri\030$ \001(\tB\003\340A\003\022\030\n\013r" - + "econciling\030b \001(\010B\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003" - + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001:^\352A[\n\032run.googleapis" - + ".com/Service\022:projects/{project}/locatio" - + "ns/{location}/services/{service}R\001\0012\267\r\n\010" - + "Services\022\375\001\n\rCreateService\022).google.clou" - + "d.run.v2.CreateServiceRequest\032\035.google.l" - + "ongrunning.Operation\"\241\001\202\323\344\223\0027\",/v2/{pare" - + "nt=projects/*/locations/*}/services:\007ser" - + "vice\212\323\344\223\002-\022+\n\006parent\022!projects/*/locatio" - + "ns/{location=*}\332A\031parent,service,service" - + "_id\312A\022\n\007Service\022\007Service\022\303\001\n\nGetService\022" - + "&.google.cloud.run.v2.GetServiceRequest\032" - + "\034.google.cloud.run.v2.Service\"o\202\323\344\223\002.\022,/" - + "v2/{name=projects/*/locations/*/services" - + "/*}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/" - + "{location=*}/**\332A\004name\022\325\001\n\014ListServices\022" - + "(.google.cloud.run.v2.ListServicesReques" - + "t\032).google.cloud.run.v2.ListServicesResp" - + "onse\"p\202\323\344\223\002.\022,/v2/{parent=projects/*/loc" - + "ations/*}/services\212\323\344\223\002-\022+\n\006parent\022!proj" - + "ects/*/locations/{location=*}\332A\006parent\022\374" - + "\001\n\rUpdateService\022).google.cloud.run.v2.U" - + "pdateServiceRequest\032\035.google.longrunning" - + ".Operation\"\240\001\202\323\344\223\002?24/v2/{service.name=p" - + "rojects/*/locations/*/services/*}:\007servi" - + "ce\212\323\344\223\0026\0224\n\014service.name\022$projects/*/loc" - + "ations/{location=*}/**\332A\007service\312A\022\n\007Ser" - + "vice\022\007Service\022\340\001\n\rDeleteService\022).google" - + ".cloud.run.v2.DeleteServiceRequest\032\035.goo" - + "gle.longrunning.Operation\"\204\001\202\323\344\223\002.*,/v2/" - + "{name=projects/*/locations/*/services/*}" - + "\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{lo" - + "cation=*}/**\332A\004name\312A\022\n\007Service\022\007Service" - + "\022\220\001\n\014GetIamPolicy\022\".google.iam.v1.GetIam" - + "PolicyRequest\032\025.google.iam.v1.Policy\"E\202\323" - + "\344\223\002?\022=/v2/{resource=projects/*/locations" - + "/*/services/*}:getIamPolicy\022\223\001\n\014SetIamPo" - + "licy\022\".google.iam.v1.SetIamPolicyRequest" - + "\032\025.google.iam.v1.Policy\"H\202\323\344\223\002B\"=/v2/{re" - + "source=projects/*/locations/*/services/*" - + "}:setIamPolicy:\001*\022\271\001\n\022TestIamPermissions" - + "\022(.google.iam.v1.TestIamPermissionsReque" - + "st\032).google.iam.v1.TestIamPermissionsRes" - + "ponse\"N\202\323\344\223\002H\"C/v2/{resource=projects/*/" - + "locations/*/services/*}:testIamPermissio" - + "ns:\001*\032F\312A\022run.googleapis.com\322A.https://w" - + "ww.googleapis.com/auth/cloud-platformBa\n" - + "\027com.google.cloud.run.v2B\014ServiceProtoP\001" - + "Z6google.golang.org/genproto/googleapis/" - + "cloud/run/v2;runb\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.LaunchStageProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.api.RoutingProto.getDescriptor(), - com.google.cloud.run.v2.ConditionProto.getDescriptor(), - com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor(), - com.google.cloud.run.v2.TrafficTargetProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor, - new java.lang.String[] { - "Parent", "Service", "ServiceId", "ValidateOnly", - }); - internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor, - new java.lang.String[] { - "Service", "ValidateOnly", "AllowMissing", - }); - internal_static_google_cloud_run_v2_ListServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListServicesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_cloud_run_v2_ListServicesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListServicesResponse_descriptor, - new java.lang.String[] { - "Services", "NextPageToken", - }); - internal_static_google_cloud_run_v2_GetServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_GetServiceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor, - new java.lang.String[] { - "Name", "ValidateOnly", "Etag", - }); - internal_static_google_cloud_run_v2_Service_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_run_v2_Service_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Service_descriptor, - new java.lang.String[] { - "Name", - "Description", - "Uid", - "Generation", - "Labels", - "Annotations", - "CreateTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "Creator", - "LastModifier", - "Client", - "ClientVersion", - "Ingress", - "LaunchStage", - "BinaryAuthorization", - "Template", - "Traffic", - "ObservedGeneration", - "TerminalCondition", - "Conditions", - "LatestReadyRevision", - "LatestCreatedRevision", - "TrafficStatuses", - "Uri", - "Reconciling", - "Etag", - }); - internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_Service_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - 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.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.api.RoutingProto.routing); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - 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.LaunchStageProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.RoutingProto.getDescriptor(); - com.google.cloud.run.v2.ConditionProto.getDescriptor(); - com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor(); - com.google.cloud.run.v2.TrafficTargetProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java deleted file mode 100644 index b2e1afc52b6e..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java +++ /dev/null @@ -1,38 +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/run/v2/k8s.min.proto - -package com.google.cloud.run.v2; - -public interface TCPSocketActionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TCPSocketAction) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Port number to access on the container. Must be in the range 1 to 65535.
-   * 
- * - * int32 port = 1; - * - * @return The port. - */ - int getPort(); -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java deleted file mode 100644 index 2a9591ab1460..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java +++ /dev/null @@ -1,258 +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/run/v2/task.proto - -package com.google.cloud.run.v2; - -public final class TaskProto { - private TaskProto() {} - - 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_run_v2_GetTaskRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Task_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Task_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_TaskAttemptResult_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\036google/cloud/run/v2/task.proto\022\023google" - + ".cloud.run.v2\032\034google/api/annotations.pr" - + "oto\032\027google/api/client.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032#google/cloud/run/v2/condition." - + "proto\032!google/cloud/run/v2/k8s.min.proto" - + "\032)google/cloud/run/v2/vendor_settings.pr" - + "oto\032\036google/protobuf/duration.proto\032\037goo" - + "gle/protobuf/timestamp.proto\032\027google/rpc" - + "/status.proto\"?\n\016GetTaskRequest\022-\n\004name\030" - + "\001 \001(\tB\037\340A\002\372A\031\n\027run.googleapis.com/Task\"\200" - + "\001\n\020ListTasksRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002" - + "\372A\031\022\027run.googleapis.com/Task\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_dele" - + "ted\030\004 \001(\010\"V\n\021ListTasksResponse\022(\n\005tasks\030" - + "\001 \003(\0132\031.google.cloud.run.v2.Task\022\027\n\017next" - + "_page_token\030\002 \001(\t\"\303\013\n\004Task\022\021\n\004name\030\001 \001(\t" - + "B\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\027\n\ngeneration\030\003 " - + "\001(\003B\003\340A\003\0225\n\006labels\030\004 \003(\0132%.google.cloud." - + "run.v2.Task.LabelsEntry\022?\n\013annotations\030\005" - + " \003(\0132*.google.cloud.run.v2.Task.Annotati" - + "onsEntry\0224\n\013create_time\030\006 \001(\0132\032.google.p" - + "rotobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\033 \001" - + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0228\n\017c" - + "ompletion_time\030\007 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.goo" - + "gle.protobuf.TimestampB\003\340A\003\0224\n\013delete_ti" - + "me\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A" - + "\003\0224\n\013expire_time\030\n \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022+\n\003job\030\014 \001(\tB\036\340A\003\372A\030\n\026ru" - + "n.googleapis.com/Job\0227\n\texecution\030\r \001(\tB" - + "$\340A\003\372A\036\n\034run.googleapis.com/Execution\0222\n" - + "\ncontainers\030\016 \003(\0132\036.google.cloud.run.v2." - + "Container\022,\n\007volumes\030\017 \003(\0132\033.google.clou" - + "d.run.v2.Volume\022\023\n\013max_retries\030\020 \001(\005\022*\n\007" - + "timeout\030\021 \001(\0132\031.google.protobuf.Duration" - + "\022\027\n\017service_account\030\022 \001(\t\022H\n\025execution_e" - + "nvironment\030\024 \001(\0162).google.cloud.run.v2.E" - + "xecutionEnvironment\022\030\n\013reconciling\030\025 \001(\010" - + "B\003\340A\003\0227\n\nconditions\030\026 \003(\0132\036.google.cloud" - + ".run.v2.ConditionB\003\340A\003\022 \n\023observed_gener" - + "ation\030\027 \001(\003B\003\340A\003\022\022\n\005index\030\030 \001(\005B\003\340A\003\022\024\n\007" - + "retried\030\031 \001(\005B\003\340A\003\022H\n\023last_attempt_resul" - + "t\030\032 \001(\0132&.google.cloud.run.v2.TaskAttemp" - + "tResultB\003\340A\003\022A\n\016encryption_key\030\034 \001(\tB)\340A" - + "\003\372A#\n!cloudkms.googleapis.com/CryptoKey\022" - + "7\n\nvpc_access\030\035 \001(\0132\036.google.cloud.run.v" - + "2.VpcAccessB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013L" - + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001:w\352At\n\027run.googleapis.com/" - + "Task\022Vprojects/{project}/locations/{loca" - + "tion}/jobs/{job}/executions/{execution}/" - + "tasks/{task}R\001\001\"T\n\021TaskAttemptResult\022\'\n\006" - + "status\030\001 \001(\0132\022.google.rpc.StatusB\003\340A\003\022\026\n" - + "\texit_code\030\002 \001(\005B\003\340A\0032\226\003\n\005Tasks\022\227\001\n\007GetT" - + "ask\022#.google.cloud.run.v2.GetTaskRequest" - + "\032\031.google.cloud.run.v2.Task\"L\202\323\344\223\002?\022=/v2" - + "/{name=projects/*/locations/*/jobs/*/exe" - + "cutions/*/tasks/*}\332A\004name\022\252\001\n\tListTasks\022" - + "%.google.cloud.run.v2.ListTasksRequest\032&" - + ".google.cloud.run.v2.ListTasksResponse\"N" - + "\202\323\344\223\002?\022=/v2/{parent=projects/*/locations" - + "/*/jobs/*/executions/*}/tasks\332A\006parent\032F" - + "\312A\022run.googleapis.com\322A.https://www.goog" - + "leapis.com/auth/cloud-platformB^\n\027com.go" - + "ogle.cloud.run.v2B\tTaskProtoP\001Z6google.g" - + "olang.org/genproto/googleapis/cloud/run/" - + "v2;runb\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.run.v2.ConditionProto.getDescriptor(), - com.google.cloud.run.v2.K8sMinProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_GetTaskRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_GetTaskRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_run_v2_ListTasksRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListTasksRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "ShowDeleted", - }); - internal_static_google_cloud_run_v2_ListTasksResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_ListTasksResponse_descriptor, - new java.lang.String[] { - "Tasks", "NextPageToken", - }); - internal_static_google_cloud_run_v2_Task_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_run_v2_Task_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Task_descriptor, - new java.lang.String[] { - "Name", - "Uid", - "Generation", - "Labels", - "Annotations", - "CreateTime", - "StartTime", - "CompletionTime", - "UpdateTime", - "DeleteTime", - "ExpireTime", - "Job", - "Execution", - "Containers", - "Volumes", - "MaxRetries", - "Timeout", - "ServiceAccount", - "ExecutionEnvironment", - "Reconciling", - "Conditions", - "ObservedGeneration", - "Index", - "Retried", - "LastAttemptResult", - "EncryptionKey", - "VpcAccess", - "Etag", - }); - internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor = - internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor = - internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor, - new java.lang.String[] { - "Status", "ExitCode", - }); - 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.resource); - 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.run.v2.ConditionProto.getDescriptor(); - com.google.cloud.run.v2.K8sMinProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java deleted file mode 100644 index 1a3f06c96328..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java +++ /dev/null @@ -1,99 +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/run/v2/task_template.proto - -package com.google.cloud.run.v2; - -public final class TaskTemplateProto { - private TaskTemplateProto() {} - - 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_run_v2_TaskTemplate_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_TaskTemplate_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/run/v2/task_template.prot" - + "o\022\023google.cloud.run.v2\032\031google/api/resou" - + "rce.proto\032!google/cloud/run/v2/k8s.min.p" - + "roto\032)google/cloud/run/v2/vendor_setting" - + "s.proto\032\036google/protobuf/duration.proto\"" - + "\225\003\n\014TaskTemplate\0222\n\ncontainers\030\001 \003(\0132\036.g" - + "oogle.cloud.run.v2.Container\022,\n\007volumes\030" - + "\002 \003(\0132\033.google.cloud.run.v2.Volume\022\025\n\013ma" - + "x_retries\030\003 \001(\005H\000\022*\n\007timeout\030\004 \001(\0132\031.goo" - + "gle.protobuf.Duration\022\027\n\017service_account" - + "\030\005 \001(\t\022H\n\025execution_environment\030\006 \001(\0162)." - + "google.cloud.run.v2.ExecutionEnvironment" - + "\022>\n\016encryption_key\030\007 \001(\tB&\372A#\n!cloudkms." - + "googleapis.com/CryptoKey\0222\n\nvpc_access\030\010" - + " \001(\0132\036.google.cloud.run.v2.VpcAccessB\t\n\007" - + "retriesBf\n\027com.google.cloud.run.v2B\021Task" - + "TemplateProtoP\001Z6google.golang.org/genpr" - + "oto/googleapis/cloud/run/v2;runb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.run.v2.K8sMinProto.getDescriptor(), - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_TaskTemplate_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_TaskTemplate_descriptor, - new java.lang.String[] { - "Containers", - "Volumes", - "MaxRetries", - "Timeout", - "ServiceAccount", - "ExecutionEnvironment", - "EncryptionKey", - "VpcAccess", - "Retries", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.cloud.run.v2.K8sMinProto.getDescriptor(); - com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java deleted file mode 100644 index fba638e7548e..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java +++ /dev/null @@ -1,97 +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/run/v2/traffic_target.proto - -package com.google.cloud.run.v2; - -public final class TrafficTargetProto { - private TrafficTargetProto() {} - - 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_run_v2_TrafficTarget_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_TrafficTargetStatus_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/run/v2/traffic_target.pro" - + "to\022\023google.cloud.run.v2\032\031google/api/reso" - + "urce.proto\"\241\001\n\rTrafficTarget\022>\n\004type\030\001 \001" - + "(\01620.google.cloud.run.v2.TrafficTargetAl" - + "locationType\0222\n\010revision\030\002 \001(\tB \372A\035\n\033run" - + ".googleapis.com/Revision\022\017\n\007percent\030\003 \001(" - + "\005\022\013\n\003tag\030\004 \001(\t\"\264\001\n\023TrafficTargetStatus\022>" - + "\n\004type\030\001 \001(\01620.google.cloud.run.v2.Traff" - + "icTargetAllocationType\0222\n\010revision\030\002 \001(\t" - + "B \372A\035\n\033run.googleapis.com/Revision\022\017\n\007pe" - + "rcent\030\003 \001(\005\022\013\n\003tag\030\004 \001(\t\022\013\n\003uri\030\005 \001(\t*\245\001" - + "\n\033TrafficTargetAllocationType\022.\n*TRAFFIC" - + "_TARGET_ALLOCATION_TYPE_UNSPECIFIED\020\000\022)\n" - + "%TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\020\001" - + "\022+\n\'TRAFFIC_TARGET_ALLOCATION_TYPE_REVIS" - + "ION\020\002Bg\n\027com.google.cloud.run.v2B\022Traffi" - + "cTargetProtoP\001Z6google.golang.org/genpro" - + "to/googleapis/cloud/run/v2;runb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_TrafficTarget_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_TrafficTarget_descriptor, - new java.lang.String[] { - "Type", "Revision", "Percent", "Tag", - }); - internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor, - new java.lang.String[] { - "Type", "Revision", "Percent", "Tag", "Uri", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java b/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java deleted file mode 100644 index 5bd17cb63901..000000000000 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java +++ /dev/null @@ -1,113 +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/run/v2/vendor_settings.proto - -package com.google.cloud.run.v2; - -public final class VendorSettingsProto { - private VendorSettingsProto() {} - - 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_run_v2_VpcAccess_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_run_v2_RevisionScaling_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_run_v2_RevisionScaling_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/run/v2/vendor_settings.pr" - + "oto\022\023google.cloud.run.v2\032\031google/api/res" - + "ource.proto\"\324\001\n\tVpcAccess\022:\n\tconnector\030\001" - + " \001(\tB\'\372A$\n\"vpcaccess.googleapis.com/Conn" - + "ector\0228\n\006egress\030\002 \001(\0162(.google.cloud.run" - + ".v2.VpcAccess.VpcEgress\"Q\n\tVpcEgress\022\032\n\026" - + "VPC_EGRESS_UNSPECIFIED\020\000\022\017\n\013ALL_TRAFFIC\020" - + "\001\022\027\n\023PRIVATE_RANGES_ONLY\020\002\"a\n\023BinaryAuth" - + "orization\022\025\n\013use_default\030\001 \001(\010H\000\022 \n\030brea" - + "kglass_justification\030\002 \001(\tB\021\n\017binauthz_m" - + "ethod\"I\n\017RevisionScaling\022\032\n\022min_instance" - + "_count\030\001 \001(\005\022\032\n\022max_instance_count\030\002 \001(\005" - + "*\231\001\n\016IngressTraffic\022\037\n\033INGRESS_TRAFFIC_U" - + "NSPECIFIED\020\000\022\027\n\023INGRESS_TRAFFIC_ALL\020\001\022!\n" - + "\035INGRESS_TRAFFIC_INTERNAL_ONLY\020\002\022*\n&INGR" - + "ESS_TRAFFIC_INTERNAL_LOAD_BALANCER\020\003*}\n\024" - + "ExecutionEnvironment\022%\n!EXECUTION_ENVIRO" - + "NMENT_UNSPECIFIED\020\000\022\036\n\032EXECUTION_ENVIRON" - + "MENT_GEN1\020\001\022\036\n\032EXECUTION_ENVIRONMENT_GEN" - + "2\020\002Bh\n\027com.google.cloud.run.v2B\023VendorSe" - + "ttingsProtoP\001Z6google.golang.org/genprot" - + "o/googleapis/cloud/run/v2;runb\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - }); - internal_static_google_cloud_run_v2_VpcAccess_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_VpcAccess_descriptor, - new java.lang.String[] { - "Connector", "Egress", - }); - internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor, - new java.lang.String[] { - "UseDefault", "BreakglassJustification", "BinauthzMethod", - }); - internal_static_google_cloud_run_v2_RevisionScaling_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_run_v2_RevisionScaling_descriptor, - new java.lang.String[] { - "MinInstanceCount", "MaxInstanceCount", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java similarity index 98% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java index 621b60bdfef2..8c42c2eded48 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsClient.java @@ -217,7 +217,8 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param name Required. The full name of the Execution. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Execution getExecution(ExecutionName name) { @@ -245,7 +246,8 @@ public final Execution getExecution(ExecutionName name) { * } * * @param name Required. The full name of the Execution. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Execution getExecution(String name) { @@ -332,7 +334,8 @@ public final UnaryCallable getExecutionCallable( * * @param parent Required. The Execution from which the Executions should be listed. To list all * Executions across Jobs, use "-" instead of Job name. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListExecutionsPagedResponse listExecutions(JobName parent) { @@ -365,7 +368,8 @@ public final ListExecutionsPagedResponse listExecutions(JobName parent) { * * @param parent Required. The Execution from which the Executions should be listed. To list all * Executions across Jobs, use "-" instead of Job name. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListExecutionsPagedResponse listExecutions(String parent) { @@ -499,7 +503,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * } * * @param name Required. The name of the Execution to delete. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteExecutionAsync(ExecutionName name) { @@ -527,7 +532,8 @@ public final OperationFuture deleteExecutionAsync(Executio * } * * @param name Required. The name of the Execution to delete. Format: - * projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, where {project} + * can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteExecutionAsync(String name) { diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java index 81e9e38d3ec6..c15f4ed875a1 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ExecutionsSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.run.v2.stub.ExecutionsStubSettings; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java similarity index 97% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java index 3b39d826d2ae..3a615b546abd 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsClient.java @@ -223,7 +223,7 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param parent Required. The location and project in which this Job should be created. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @param job Required. The Job instance to create. * @param jobId Required. The unique identifier for the Job. The name of the job becomes * {parent}/jobs/{job_id}. @@ -261,7 +261,7 @@ public final OperationFuture createJobAsync( * } * * @param parent Required. The location and project in which this Job should be created. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @param job Required. The Job instance to create. * @param jobId Required. The unique identifier for the Job. The name of the job becomes * {parent}/jobs/{job_id}. @@ -384,7 +384,8 @@ public final UnaryCallable createJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job getJob(JobName name) { @@ -412,7 +413,8 @@ public final Job getJob(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Job getJob(String name) { @@ -496,7 +498,7 @@ public final UnaryCallable getJobCallable() { * } * * @param parent Required. The location and project to list resources on. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListJobsPagedResponse listJobs(LocationName parent) { @@ -526,7 +528,7 @@ public final ListJobsPagedResponse listJobs(LocationName parent) { * } * * @param parent Required. The location and project to list resources on. Format: - * projects/{project}/locations/{location} + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListJobsPagedResponse listJobs(String parent) { @@ -772,7 +774,8 @@ public final UnaryCallable updateJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteJobAsync(JobName name) { @@ -800,7 +803,8 @@ public final OperationFuture deleteJobAsync(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteJobAsync(String name) { @@ -916,7 +920,8 @@ public final UnaryCallable deleteJobCallable() { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture runJobAsync(JobName name) { @@ -944,7 +949,8 @@ public final OperationFuture runJobAsync(JobName name) { * } * * @param name Required. The full name of the Job. Format: - * projects/{project}/locations/{location}/jobs/{job} + * projects/{project}/locations/{location}/jobs/{job}, where {project} can be project id or + * number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture runJobAsync(String name) { @@ -1043,7 +1049,7 @@ public final UnaryCallable runJobCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get the IAM Access Control policy currently in effect for the given Job. This result does not + * Gets the IAM Access Control policy currently in effect for the given Job. This result does not * include any inherited policies. * *

Sample code: @@ -1073,7 +1079,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Get the IAM Access Control policy currently in effect for the given Job. This result does not + * Gets the IAM Access Control policy currently in effect for the given Job. This result does not * include any inherited policies. * *

Sample code: diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java index 78e72c47639c..e6ead91c5d31 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/JobsSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.run.v2.stub.JobsStubSettings; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsClient.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java index dbd1ffd7778e..c4c945574b84 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/RevisionsSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.run.v2.stub.RevisionsStubSettings; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java similarity index 97% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java index 9ecd1a1bc37f..ce91939d83ac 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesClient.java @@ -224,11 +224,11 @@ public final OperationsClient getHttpJsonOperationsClient() { * } * * @param parent Required. The location and project in which this service should be created. - * Format: projects/{project}/locations/{location} Only lowercase characters, digits, and - * hyphens. + * Format: projects/{project}/locations/{location}, where {project} can be project id or + * number. Only lowercase characters, digits, and hyphens. * @param service Required. The Service instance to create. * @param serviceId Required. The unique identifier for the Service. It must begin with letter, - * and may not end with hyphen; must contain fewer than 50 characters. The name of the service + * and cannot end with hyphen; must contain fewer than 50 characters. The name of the service * becomes {parent}/services/{service_id}. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -264,11 +264,11 @@ public final OperationFuture createServiceAsync( * } * * @param parent Required. The location and project in which this service should be created. - * Format: projects/{project}/locations/{location} Only lowercase characters, digits, and - * hyphens. + * Format: projects/{project}/locations/{location}, where {project} can be project id or + * number. Only lowercase characters, digits, and hyphens. * @param service Required. The Service instance to create. * @param serviceId Required. The unique identifier for the Service. It must begin with letter, - * and may not end with hyphen; must contain fewer than 50 characters. The name of the service + * and cannot end with hyphen; must contain fewer than 50 characters. The name of the service * becomes {parent}/services/{service_id}. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -395,7 +395,8 @@ public final UnaryCallable createServiceCallabl * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service getService(ServiceName name) { @@ -423,7 +424,8 @@ public final Service getService(ServiceName name) { * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Service getService(String name) { @@ -507,8 +509,8 @@ public final UnaryCallable getServiceCallable() { * } * * @param parent Required. The location and project to list resources on. Location must be a valid - * GCP region, and may not be the "-" wildcard. Format: - * projects/{project}/locations/{location} + * GCP region, and cannot be the "-" wildcard. Format: + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(LocationName parent) { @@ -540,8 +542,8 @@ public final ListServicesPagedResponse listServices(LocationName parent) { * } * * @param parent Required. The location and project to list resources on. Location must be a valid - * GCP region, and may not be the "-" wildcard. Format: - * projects/{project}/locations/{location} + * GCP region, and cannot be the "-" wildcard. Format: + * projects/{project}/locations/{location}, where {project} can be project id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListServicesPagedResponse listServices(String parent) { @@ -790,7 +792,8 @@ public final UnaryCallable updateServiceCallabl * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteServiceAsync(ServiceName name) { @@ -819,7 +822,8 @@ public final OperationFuture deleteServiceAsync(ServiceName na * } * * @param name Required. The full name of the Service. Format: - * projects/{project}/locations/{location}/services/{service} + * projects/{project}/locations/{location}/services/{service}, where {project} can be project + * id or number. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture deleteServiceAsync(String name) { diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java index b2c503f16b9d..ca7c4c27b855 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/ServicesSettings.java @@ -29,6 +29,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; 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.run.v2.stub.ServicesStubSettings; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksClient.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksClient.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksClient.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksClient.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java index 85e40fd5afdb..95b1196aecd9 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/TasksSettings.java @@ -28,6 +28,7 @@ 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.run.v2.stub.TasksStubSettings; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/gapic_metadata.json b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/gapic_metadata.json similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/gapic_metadata.json rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/gapic_metadata.json diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/package-info.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStubSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStubSettings.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStubSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ExecutionsStubSettings.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java index 31562987f2aa..e3285c7cda59 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcExecutionsStub.java @@ -36,6 +36,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/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java index e3a0d323e849..be3b49e60811 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcJobsStub.java @@ -45,6 +45,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/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java index 6f89f0c2d78f..8369429e2c54 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcRevisionsStub.java @@ -37,6 +37,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/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java index f2fe4ebcb026..0133af02c2b4 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcServicesStub.java @@ -45,6 +45,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/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java index 58512a72ca93..28e33f14aacc 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/GrpcTasksStub.java @@ -33,6 +33,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/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java index c53f1957fd51..2fdf55e65786 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonExecutionsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java index 27372078fc2d..a57f0c8c52be 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonJobsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java index c01acd40f0bc..3f9e8729d023 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonRevisionsStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java similarity index 99% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java index 4933b88363ce..04cdabce8504 100644 --- a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java +++ b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonServicesStub.java @@ -30,6 +30,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksCallableFactory.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksCallableFactory.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksCallableFactory.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksCallableFactory.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/HttpJsonTasksStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStubSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStubSettings.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStubSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/JobsStubSettings.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStubSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStubSettings.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStubSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/RevisionsStubSettings.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStubSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStubSettings.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStubSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/ServicesStubSettings.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStub.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStub.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStub.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStub.java diff --git a/java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStubSettings.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStubSettings.java similarity index 100% rename from java-run/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStubSettings.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/main/java/com/google/cloud/run/v2/stub/TasksStubSettings.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientHttpJsonTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientHttpJsonTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientHttpJsonTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientHttpJsonTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ExecutionsClientTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientHttpJsonTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientHttpJsonTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientHttpJsonTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientHttpJsonTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/JobsClientTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutions.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutions.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutions.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutions.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutionsImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutionsImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutionsImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockExecutionsImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobs.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobs.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobs.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobs.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobsImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobsImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobsImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockJobsImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocations.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocations.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocations.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocations.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocationsImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocationsImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocationsImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockLocationsImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisions.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisions.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisions.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisions.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisionsImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisionsImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisionsImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockRevisionsImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServices.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServices.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServices.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServices.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServicesImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServicesImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServicesImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockServicesImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasks.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasks.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasks.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasks.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasksImpl.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasksImpl.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasksImpl.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/MockTasksImpl.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientHttpJsonTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientHttpJsonTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientHttpJsonTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientHttpJsonTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/RevisionsClientTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientHttpJsonTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientHttpJsonTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientHttpJsonTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientHttpJsonTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/ServicesClientTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientHttpJsonTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientHttpJsonTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientHttpJsonTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientHttpJsonTest.java diff --git a/java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientTest.java b/owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientTest.java similarity index 100% rename from java-run/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientTest.java rename to owl-bot-staging/java-run/v2/google-cloud-run/src/test/java/com/google/cloud/run/v2/TasksClientTest.java diff --git a/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java new file mode 100644 index 000000000000..f4dc9b6d4019 --- /dev/null +++ b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionsGrpc.java @@ -0,0 +1,475 @@ +package com.google.cloud.run.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Cloud Run Execution Control Plane API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/run/v2/execution.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ExecutionsGrpc { + + private ExecutionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.run.v2.Executions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExecution", + requestType = com.google.cloud.run.v2.GetExecutionRequest.class, + responseType = com.google.cloud.run.v2.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetExecutionMethod() { + io.grpc.MethodDescriptor getGetExecutionMethod; + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + ExecutionsGrpc.getGetExecutionMethod = getGetExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.GetExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) + .build(); + } + } + } + return getGetExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListExecutionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExecutions", + requestType = com.google.cloud.run.v2.ListExecutionsRequest.class, + responseType = com.google.cloud.run.v2.ListExecutionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListExecutionsMethod() { + io.grpc.MethodDescriptor getListExecutionsMethod; + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + ExecutionsGrpc.getListExecutionsMethod = getListExecutionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListExecutionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListExecutionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) + .build(); + } + } + } + return getListExecutionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteExecution", + requestType = com.google.cloud.run.v2.DeleteExecutionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteExecutionMethod() { + io.grpc.MethodDescriptor getDeleteExecutionMethod; + if ((getDeleteExecutionMethod = ExecutionsGrpc.getDeleteExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getDeleteExecutionMethod = ExecutionsGrpc.getDeleteExecutionMethod) == null) { + ExecutionsGrpc.getDeleteExecutionMethod = getDeleteExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.DeleteExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("DeleteExecution")) + .build(); + } + } + } + return getDeleteExecutionMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ExecutionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + }; + return ExecutionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ExecutionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + }; + return ExecutionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ExecutionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + }; + return ExecutionsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Cloud Run Execution Control Plane API.
+   * 
+ */ + public static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * Gets information about an Execution.
+     * 
+ */ + public void getExecution(com.google.cloud.run.v2.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), responseObserver); + } + + /** + *
+     * Lists Executions from a Job.
+     * 
+ */ + public void listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), responseObserver); + } + + /** + *
+     * Deletes an Execution.
+     * 
+ */ + public void deleteExecution(com.google.cloud.run.v2.DeleteExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.GetExecutionRequest, + com.google.cloud.run.v2.Execution>( + this, METHODID_GET_EXECUTION))) + .addMethod( + getListExecutionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.ListExecutionsRequest, + com.google.cloud.run.v2.ListExecutionsResponse>( + this, METHODID_LIST_EXECUTIONS))) + .addMethod( + getDeleteExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.DeleteExecutionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_EXECUTION))) + .build(); + } + } + + /** + *
+   * Cloud Run Execution Control Plane API.
+   * 
+ */ + public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { + private ExecutionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + + /** + *
+     * Gets information about an Execution.
+     * 
+ */ + public void getExecution(com.google.cloud.run.v2.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Executions from a Job.
+     * 
+ */ + public void listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an Execution.
+     * 
+ */ + public void deleteExecution(com.google.cloud.run.v2.DeleteExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteExecutionMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Cloud Run Execution Control Plane API.
+   * 
+ */ + public static final class ExecutionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ExecutionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + + /** + *
+     * Gets information about an Execution.
+     * 
+ */ + public com.google.cloud.run.v2.Execution getExecution(com.google.cloud.run.v2.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExecutionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Executions from a Job.
+     * 
+ */ + public com.google.cloud.run.v2.ListExecutionsResponse listExecutions(com.google.cloud.run.v2.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExecutionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an Execution.
+     * 
+ */ + public com.google.longrunning.Operation deleteExecution(com.google.cloud.run.v2.DeleteExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteExecutionMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Cloud Run Execution Control Plane API.
+   * 
+ */ + public static final class ExecutionsFutureStub extends io.grpc.stub.AbstractFutureStub { + private ExecutionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + + /** + *
+     * Gets information about an Execution.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getExecution( + com.google.cloud.run.v2.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Executions from a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listExecutions( + com.google.cloud.run.v2.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an Execution.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteExecution( + com.google.cloud.run.v2.DeleteExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteExecutionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_EXECUTION = 0; + private static final int METHODID_LIST_EXECUTIONS = 1; + private static final int METHODID_DELETE_EXECUTION = 2; + + 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_EXECUTION: + serviceImpl.getExecution((com.google.cloud.run.v2.GetExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_EXECUTIONS: + serviceImpl.listExecutions((com.google.cloud.run.v2.ListExecutionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_EXECUTION: + serviceImpl.deleteExecution((com.google.cloud.run.v2.DeleteExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ExecutionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Executions"); + } + } + + private static final class ExecutionsFileDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier { + ExecutionsFileDescriptorSupplier() {} + } + + private static final class ExecutionsMethodDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ExecutionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ExecutionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) + .addMethod(getGetExecutionMethod()) + .addMethod(getListExecutionsMethod()) + .addMethod(getDeleteExecutionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java new file mode 100644 index 000000000000..258a84c9fc01 --- /dev/null +++ b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobsGrpc.java @@ -0,0 +1,1003 @@ +package com.google.cloud.run.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Cloud Run Job Control Plane API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/run/v2/job.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class JobsGrpc { + + private JobsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.run.v2.Jobs"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateJob", + requestType = com.google.cloud.run.v2.CreateJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateJobMethod() { + io.grpc.MethodDescriptor getCreateJobMethod; + if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getCreateJobMethod = JobsGrpc.getCreateJobMethod) == null) { + JobsGrpc.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.run.v2.CreateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("CreateJob")) + .build(); + } + } + } + return getCreateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetJob", + requestType = com.google.cloud.run.v2.GetJobRequest.class, + responseType = com.google.cloud.run.v2.Job.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetJobMethod() { + io.grpc.MethodDescriptor getGetJobMethod; + if ((getGetJobMethod = JobsGrpc.getGetJobMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getGetJobMethod = JobsGrpc.getGetJobMethod) == null) { + JobsGrpc.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.run.v2.GetJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.Job.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("GetJob")) + .build(); + } + } + } + return getGetJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getListJobsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListJobs", + requestType = com.google.cloud.run.v2.ListJobsRequest.class, + responseType = com.google.cloud.run.v2.ListJobsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListJobsMethod() { + io.grpc.MethodDescriptor getListJobsMethod; + if ((getListJobsMethod = JobsGrpc.getListJobsMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getListJobsMethod = JobsGrpc.getListJobsMethod) == null) { + JobsGrpc.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.run.v2.ListJobsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListJobsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("ListJobs")) + .build(); + } + } + } + return getListJobsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateJob", + requestType = com.google.cloud.run.v2.UpdateJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateJobMethod() { + io.grpc.MethodDescriptor getUpdateJobMethod; + if ((getUpdateJobMethod = JobsGrpc.getUpdateJobMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getUpdateJobMethod = JobsGrpc.getUpdateJobMethod) == null) { + JobsGrpc.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.run.v2.UpdateJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("UpdateJob")) + .build(); + } + } + } + return getUpdateJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteJob", + requestType = com.google.cloud.run.v2.DeleteJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteJobMethod() { + io.grpc.MethodDescriptor getDeleteJobMethod; + if ((getDeleteJobMethod = JobsGrpc.getDeleteJobMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getDeleteJobMethod = JobsGrpc.getDeleteJobMethod) == null) { + JobsGrpc.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.run.v2.DeleteJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("DeleteJob")) + .build(); + } + } + } + return getDeleteJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getRunJobMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunJob", + requestType = com.google.cloud.run.v2.RunJobRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRunJobMethod() { + io.grpc.MethodDescriptor getRunJobMethod; + if ((getRunJobMethod = JobsGrpc.getRunJobMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getRunJobMethod = JobsGrpc.getRunJobMethod) == null) { + JobsGrpc.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.run.v2.RunJobRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("RunJob")) + .build(); + } + } + } + return getRunJobMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = JobsGrpc.getGetIamPolicyMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getGetIamPolicyMethod = JobsGrpc.getGetIamPolicyMethod) == null) { + JobsGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = JobsGrpc.getSetIamPolicyMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getSetIamPolicyMethod = JobsGrpc.getSetIamPolicyMethod) == null) { + JobsGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = JobsGrpc.getTestIamPermissionsMethod) == null) { + synchronized (JobsGrpc.class) { + if ((getTestIamPermissionsMethod = JobsGrpc.getTestIamPermissionsMethod) == null) { + JobsGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new JobsMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static JobsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsStub(channel, callOptions); + } + }; + return JobsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static JobsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsBlockingStub(channel, callOptions); + } + }; + return JobsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static JobsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public JobsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsFutureStub(channel, callOptions); + } + }; + return JobsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Cloud Run Job Control Plane API.
+   * 
+ */ + public static abstract class JobsImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a Job.
+     * 
+ */ + public void createJob(com.google.cloud.run.v2.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateJobMethod(), responseObserver); + } + + /** + *
+     * Gets information about a Job.
+     * 
+ */ + public void getJob(com.google.cloud.run.v2.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetJobMethod(), responseObserver); + } + + /** + *
+     * Lists Jobs.
+     * 
+ */ + public void listJobs(com.google.cloud.run.v2.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); + } + + /** + *
+     * Updates a Job.
+     * 
+ */ + public void updateJob(com.google.cloud.run.v2.UpdateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateJobMethod(), responseObserver); + } + + /** + *
+     * Deletes a Job.
+     * 
+ */ + public void deleteJob(com.google.cloud.run.v2.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteJobMethod(), responseObserver); + } + + /** + *
+     * Triggers creation of a new Execution of this Job.
+     * 
+ */ + public void runJob(com.google.cloud.run.v2.RunJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunJobMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given Job.
+     * This result does not include any inherited policies.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Job. Overwrites
+     * any existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.CreateJobRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_JOB))) + .addMethod( + getGetJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.GetJobRequest, + com.google.cloud.run.v2.Job>( + this, METHODID_GET_JOB))) + .addMethod( + getListJobsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.ListJobsRequest, + com.google.cloud.run.v2.ListJobsResponse>( + this, METHODID_LIST_JOBS))) + .addMethod( + getUpdateJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.UpdateJobRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_JOB))) + .addMethod( + getDeleteJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.DeleteJobRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_JOB))) + .addMethod( + getRunJobMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.RunJobRequest, + com.google.longrunning.Operation>( + this, METHODID_RUN_JOB))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * Cloud Run Job Control Plane API.
+   * 
+ */ + public static final class JobsStub extends io.grpc.stub.AbstractAsyncStub { + private JobsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsStub(channel, callOptions); + } + + /** + *
+     * Creates a Job.
+     * 
+ */ + public void createJob(com.google.cloud.run.v2.CreateJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a Job.
+     * 
+ */ + public void getJob(com.google.cloud.run.v2.GetJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Jobs.
+     * 
+ */ + public void listJobs(com.google.cloud.run.v2.ListJobsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a Job.
+     * 
+ */ + public void updateJob(com.google.cloud.run.v2.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.run.v2.DeleteJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Triggers creation of a new Execution of this Job.
+     * 
+ */ + public void runJob(com.google.cloud.run.v2.RunJobRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunJobMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given Job.
+     * This result does not include any inherited policies.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Job. Overwrites
+     * any existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Cloud Run Job Control Plane API.
+   * 
+ */ + public static final class JobsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private JobsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a Job.
+     * 
+ */ + public com.google.longrunning.Operation createJob(com.google.cloud.run.v2.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a Job.
+     * 
+ */ + public com.google.cloud.run.v2.Job getJob(com.google.cloud.run.v2.GetJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Jobs.
+     * 
+ */ + public com.google.cloud.run.v2.ListJobsResponse listJobs(com.google.cloud.run.v2.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListJobsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a Job.
+     * 
+ */ + public com.google.longrunning.Operation updateJob(com.google.cloud.run.v2.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a Job.
+     * 
+ */ + public com.google.longrunning.Operation deleteJob(com.google.cloud.run.v2.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Triggers creation of a new Execution of this Job.
+     * 
+ */ + public com.google.longrunning.Operation runJob(com.google.cloud.run.v2.RunJobRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunJobMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given Job.
+     * This result does not include any inherited policies.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Job. Overwrites
+     * any existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Cloud Run Job Control Plane API.
+   * 
+ */ + public static final class JobsFutureStub extends io.grpc.stub.AbstractFutureStub { + private JobsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected JobsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new JobsFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createJob( + com.google.cloud.run.v2.CreateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getJob( + com.google.cloud.run.v2.GetJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Jobs.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listJobs( + com.google.cloud.run.v2.ListJobsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListJobsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateJob( + com.google.cloud.run.v2.UpdateJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteJob( + com.google.cloud.run.v2.DeleteJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Triggers creation of a new Execution of this Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture runJob( + com.google.cloud.run.v2.RunJobRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRunJobMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given Job.
+     * This result does not include any inherited policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Job. Overwrites
+     * any existing policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_JOB = 0; + private static final int METHODID_GET_JOB = 1; + private static final int METHODID_LIST_JOBS = 2; + private static final int METHODID_UPDATE_JOB = 3; + private static final int METHODID_DELETE_JOB = 4; + private static final int METHODID_RUN_JOB = 5; + private static final int METHODID_GET_IAM_POLICY = 6; + private static final int METHODID_SET_IAM_POLICY = 7; + private static final int METHODID_TEST_IAM_PERMISSIONS = 8; + + 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 JobsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(JobsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_JOB: + serviceImpl.createJob((com.google.cloud.run.v2.CreateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_JOB: + serviceImpl.getJob((com.google.cloud.run.v2.GetJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_JOBS: + serviceImpl.listJobs((com.google.cloud.run.v2.ListJobsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_JOB: + serviceImpl.updateJob((com.google.cloud.run.v2.UpdateJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_JOB: + serviceImpl.deleteJob((com.google.cloud.run.v2.DeleteJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RUN_JOB: + serviceImpl.runJob((com.google.cloud.run.v2.RunJobRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class JobsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + JobsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.run.v2.JobProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Jobs"); + } + } + + private static final class JobsFileDescriptorSupplier + extends JobsBaseDescriptorSupplier { + JobsFileDescriptorSupplier() {} + } + + private static final class JobsMethodDescriptorSupplier + extends JobsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + JobsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (JobsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new JobsFileDescriptorSupplier()) + .addMethod(getCreateJobMethod()) + .addMethod(getGetJobMethod()) + .addMethod(getListJobsMethod()) + .addMethod(getUpdateJobMethod()) + .addMethod(getDeleteJobMethod()) + .addMethod(getRunJobMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java new file mode 100644 index 000000000000..0276297fd4ae --- /dev/null +++ b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionsGrpc.java @@ -0,0 +1,475 @@ +package com.google.cloud.run.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Cloud Run Revision Control Plane API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/run/v2/revision.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class RevisionsGrpc { + + private RevisionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.run.v2.Revisions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRevision", + requestType = com.google.cloud.run.v2.GetRevisionRequest.class, + responseType = com.google.cloud.run.v2.Revision.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRevisionMethod() { + io.grpc.MethodDescriptor getGetRevisionMethod; + if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { + synchronized (RevisionsGrpc.class) { + if ((getGetRevisionMethod = RevisionsGrpc.getGetRevisionMethod) == null) { + RevisionsGrpc.getGetRevisionMethod = getGetRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.GetRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.Revision.getDefaultInstance())) + .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("GetRevision")) + .build(); + } + } + } + return getGetRevisionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRevisionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRevisions", + requestType = com.google.cloud.run.v2.ListRevisionsRequest.class, + responseType = com.google.cloud.run.v2.ListRevisionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRevisionsMethod() { + io.grpc.MethodDescriptor getListRevisionsMethod; + if ((getListRevisionsMethod = RevisionsGrpc.getListRevisionsMethod) == null) { + synchronized (RevisionsGrpc.class) { + if ((getListRevisionsMethod = RevisionsGrpc.getListRevisionsMethod) == null) { + RevisionsGrpc.getListRevisionsMethod = getListRevisionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRevisions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListRevisionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListRevisionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("ListRevisions")) + .build(); + } + } + } + return getListRevisionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRevisionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRevision", + requestType = com.google.cloud.run.v2.DeleteRevisionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRevisionMethod() { + io.grpc.MethodDescriptor getDeleteRevisionMethod; + if ((getDeleteRevisionMethod = RevisionsGrpc.getDeleteRevisionMethod) == null) { + synchronized (RevisionsGrpc.class) { + if ((getDeleteRevisionMethod = RevisionsGrpc.getDeleteRevisionMethod) == null) { + RevisionsGrpc.getDeleteRevisionMethod = getDeleteRevisionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRevision")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.DeleteRevisionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new RevisionsMethodDescriptorSupplier("DeleteRevision")) + .build(); + } + } + } + return getDeleteRevisionMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static RevisionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RevisionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsStub(channel, callOptions); + } + }; + return RevisionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static RevisionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RevisionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsBlockingStub(channel, callOptions); + } + }; + return RevisionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static RevisionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public RevisionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsFutureStub(channel, callOptions); + } + }; + return RevisionsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Cloud Run Revision Control Plane API.
+   * 
+ */ + public static abstract class RevisionsImplBase implements io.grpc.BindableService { + + /** + *
+     * Gets information about a Revision.
+     * 
+ */ + public void getRevision(com.google.cloud.run.v2.GetRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRevisionMethod(), responseObserver); + } + + /** + *
+     * Lists Revisions from a given Service, or from a given location.
+     * 
+ */ + public void listRevisions(com.google.cloud.run.v2.ListRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRevisionsMethod(), responseObserver); + } + + /** + *
+     * Deletes a Revision.
+     * 
+ */ + public void deleteRevision(com.google.cloud.run.v2.DeleteRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRevisionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.GetRevisionRequest, + com.google.cloud.run.v2.Revision>( + this, METHODID_GET_REVISION))) + .addMethod( + getListRevisionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.ListRevisionsRequest, + com.google.cloud.run.v2.ListRevisionsResponse>( + this, METHODID_LIST_REVISIONS))) + .addMethod( + getDeleteRevisionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.DeleteRevisionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REVISION))) + .build(); + } + } + + /** + *
+   * Cloud Run Revision Control Plane API.
+   * 
+ */ + public static final class RevisionsStub extends io.grpc.stub.AbstractAsyncStub { + private RevisionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RevisionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Revision.
+     * 
+ */ + public void getRevision(com.google.cloud.run.v2.GetRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Revisions from a given Service, or from a given location.
+     * 
+ */ + public void listRevisions(com.google.cloud.run.v2.ListRevisionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a Revision.
+     * 
+ */ + public void deleteRevision(com.google.cloud.run.v2.DeleteRevisionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRevisionMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Cloud Run Revision Control Plane API.
+   * 
+ */ + public static final class RevisionsBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private RevisionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RevisionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsBlockingStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Revision.
+     * 
+ */ + public com.google.cloud.run.v2.Revision getRevision(com.google.cloud.run.v2.GetRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRevisionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Revisions from a given Service, or from a given location.
+     * 
+ */ + public com.google.cloud.run.v2.ListRevisionsResponse listRevisions(com.google.cloud.run.v2.ListRevisionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRevisionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a Revision.
+     * 
+ */ + public com.google.longrunning.Operation deleteRevision(com.google.cloud.run.v2.DeleteRevisionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRevisionMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Cloud Run Revision Control Plane API.
+   * 
+ */ + public static final class RevisionsFutureStub extends io.grpc.stub.AbstractFutureStub { + private RevisionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected RevisionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new RevisionsFutureStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Revision.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRevision( + com.google.cloud.run.v2.GetRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRevisionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Revisions from a given Service, or from a given location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRevisions( + com.google.cloud.run.v2.ListRevisionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRevisionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a Revision.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRevision( + com.google.cloud.run.v2.DeleteRevisionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRevisionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_REVISION = 0; + private static final int METHODID_LIST_REVISIONS = 1; + private static final int METHODID_DELETE_REVISION = 2; + + 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 RevisionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(RevisionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_REVISION: + serviceImpl.getRevision((com.google.cloud.run.v2.GetRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REVISIONS: + serviceImpl.listRevisions((com.google.cloud.run.v2.ListRevisionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REVISION: + serviceImpl.deleteRevision((com.google.cloud.run.v2.DeleteRevisionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class RevisionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + RevisionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.run.v2.RevisionProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Revisions"); + } + } + + private static final class RevisionsFileDescriptorSupplier + extends RevisionsBaseDescriptorSupplier { + RevisionsFileDescriptorSupplier() {} + } + + private static final class RevisionsMethodDescriptorSupplier + extends RevisionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + RevisionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (RevisionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new RevisionsFileDescriptorSupplier()) + .addMethod(getGetRevisionMethod()) + .addMethod(getListRevisionsMethod()) + .addMethod(getDeleteRevisionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java new file mode 100644 index 000000000000..c61b0f4f020f --- /dev/null +++ b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServicesGrpc.java @@ -0,0 +1,925 @@ +package com.google.cloud.run.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Cloud Run Service Control Plane API
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/run/v2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ServicesGrpc { + + private ServicesGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.run.v2.Services"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateService", + requestType = com.google.cloud.run.v2.CreateServiceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateServiceMethod() { + io.grpc.MethodDescriptor getCreateServiceMethod; + if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getCreateServiceMethod = ServicesGrpc.getCreateServiceMethod) == null) { + ServicesGrpc.getCreateServiceMethod = getCreateServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.CreateServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("CreateService")) + .build(); + } + } + } + return getCreateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetService", + requestType = com.google.cloud.run.v2.GetServiceRequest.class, + responseType = com.google.cloud.run.v2.Service.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetServiceMethod() { + io.grpc.MethodDescriptor getGetServiceMethod; + if ((getGetServiceMethod = ServicesGrpc.getGetServiceMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getGetServiceMethod = ServicesGrpc.getGetServiceMethod) == null) { + ServicesGrpc.getGetServiceMethod = getGetServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.GetServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.Service.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("GetService")) + .build(); + } + } + } + return getGetServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListServicesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListServices", + requestType = com.google.cloud.run.v2.ListServicesRequest.class, + responseType = com.google.cloud.run.v2.ListServicesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListServicesMethod() { + io.grpc.MethodDescriptor getListServicesMethod; + if ((getListServicesMethod = ServicesGrpc.getListServicesMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getListServicesMethod = ServicesGrpc.getListServicesMethod) == null) { + ServicesGrpc.getListServicesMethod = getListServicesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListServices")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListServicesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListServicesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("ListServices")) + .build(); + } + } + } + return getListServicesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateService", + requestType = com.google.cloud.run.v2.UpdateServiceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateServiceMethod() { + io.grpc.MethodDescriptor getUpdateServiceMethod; + if ((getUpdateServiceMethod = ServicesGrpc.getUpdateServiceMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getUpdateServiceMethod = ServicesGrpc.getUpdateServiceMethod) == null) { + ServicesGrpc.getUpdateServiceMethod = getUpdateServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.UpdateServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("UpdateService")) + .build(); + } + } + } + return getUpdateServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteServiceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteService", + requestType = com.google.cloud.run.v2.DeleteServiceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteServiceMethod() { + io.grpc.MethodDescriptor getDeleteServiceMethod; + if ((getDeleteServiceMethod = ServicesGrpc.getDeleteServiceMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getDeleteServiceMethod = ServicesGrpc.getDeleteServiceMethod) == null) { + ServicesGrpc.getDeleteServiceMethod = getDeleteServiceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteService")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.DeleteServiceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("DeleteService")) + .build(); + } + } + } + return getDeleteServiceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ServicesGrpc.getGetIamPolicyMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getGetIamPolicyMethod = ServicesGrpc.getGetIamPolicyMethod) == null) { + ServicesGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ServicesGrpc.getSetIamPolicyMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getSetIamPolicyMethod = ServicesGrpc.getSetIamPolicyMethod) == null) { + ServicesGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ServicesGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ServicesGrpc.class) { + if ((getTestIamPermissionsMethod = ServicesGrpc.getTestIamPermissionsMethod) == null) { + ServicesGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ServicesMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ServicesStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServicesStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesStub(channel, callOptions); + } + }; + return ServicesStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ServicesBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServicesBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesBlockingStub(channel, callOptions); + } + }; + return ServicesBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ServicesFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ServicesFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesFutureStub(channel, callOptions); + } + }; + return ServicesFutureStub.newStub(factory, channel); + } + + /** + *
+   * Cloud Run Service Control Plane API
+   * 
+ */ + public static abstract class ServicesImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new Service in a given project and location.
+     * 
+ */ + public void createService(com.google.cloud.run.v2.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateServiceMethod(), responseObserver); + } + + /** + *
+     * Gets information about a Service.
+     * 
+ */ + public void getService(com.google.cloud.run.v2.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetServiceMethod(), responseObserver); + } + + /** + *
+     * Lists Services.
+     * 
+ */ + public void listServices(com.google.cloud.run.v2.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListServicesMethod(), responseObserver); + } + + /** + *
+     * Updates a Service.
+     * 
+ */ + public void updateService(com.google.cloud.run.v2.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateServiceMethod(), responseObserver); + } + + /** + *
+     * Deletes a Service.
+     * This will cause the Service to stop serving traffic and will delete all
+     * revisions.
+     * 
+ */ + public void deleteService(com.google.cloud.run.v2.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteServiceMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given
+     * Cloud Run Service. This result does not include any inherited policies.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Service. Overwrites
+     * any existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.CreateServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_SERVICE))) + .addMethod( + getGetServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.GetServiceRequest, + com.google.cloud.run.v2.Service>( + this, METHODID_GET_SERVICE))) + .addMethod( + getListServicesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.ListServicesRequest, + com.google.cloud.run.v2.ListServicesResponse>( + this, METHODID_LIST_SERVICES))) + .addMethod( + getUpdateServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.UpdateServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_SERVICE))) + .addMethod( + getDeleteServiceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.DeleteServiceRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_SERVICE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * Cloud Run Service Control Plane API
+   * 
+ */ + public static final class ServicesStub extends io.grpc.stub.AbstractAsyncStub { + private ServicesStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServicesStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesStub(channel, callOptions); + } + + /** + *
+     * Creates a new Service in a given project and location.
+     * 
+ */ + public void createService(com.google.cloud.run.v2.CreateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a Service.
+     * 
+ */ + public void getService(com.google.cloud.run.v2.GetServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Services.
+     * 
+ */ + public void listServices(com.google.cloud.run.v2.ListServicesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a Service.
+     * 
+ */ + public void updateService(com.google.cloud.run.v2.UpdateServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a Service.
+     * This will cause the Service to stop serving traffic and will delete all
+     * revisions.
+     * 
+ */ + public void deleteService(com.google.cloud.run.v2.DeleteServiceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given
+     * Cloud Run Service. This result does not include any inherited policies.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Service. Overwrites
+     * any existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Cloud Run Service Control Plane API
+   * 
+ */ + public static final class ServicesBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ServicesBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServicesBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesBlockingStub(channel, callOptions); + } + + /** + *
+     * Creates a new Service in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createService(com.google.cloud.run.v2.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a Service.
+     * 
+ */ + public com.google.cloud.run.v2.Service getService(com.google.cloud.run.v2.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Services.
+     * 
+ */ + public com.google.cloud.run.v2.ListServicesResponse listServices(com.google.cloud.run.v2.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListServicesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a Service.
+     * 
+ */ + public com.google.longrunning.Operation updateService(com.google.cloud.run.v2.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a Service.
+     * This will cause the Service to stop serving traffic and will delete all
+     * revisions.
+     * 
+ */ + public com.google.longrunning.Operation deleteService(com.google.cloud.run.v2.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteServiceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given
+     * Cloud Run Service. This result does not include any inherited policies.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Service. Overwrites
+     * any existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Cloud Run Service Control Plane API
+   * 
+ */ + public static final class ServicesFutureStub extends io.grpc.stub.AbstractFutureStub { + private ServicesFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ServicesFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ServicesFutureStub(channel, callOptions); + } + + /** + *
+     * Creates a new Service in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createService( + com.google.cloud.run.v2.CreateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a Service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getService( + com.google.cloud.run.v2.GetServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Services.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listServices( + com.google.cloud.run.v2.ListServicesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListServicesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a Service.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateService( + com.google.cloud.run.v2.UpdateServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a Service.
+     * This will cause the Service to stop serving traffic and will delete all
+     * revisions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteService( + com.google.cloud.run.v2.DeleteServiceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteServiceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM Access Control policy currently in effect for the given
+     * Cloud Run Service. This result does not include any inherited policies.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Sets the IAM Access control policy for the specified Service. Overwrites
+     * any existing policy.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns permissions that a caller has on the specified Project.
+     * There are no permissions required for making this API call.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_SERVICE = 0; + private static final int METHODID_GET_SERVICE = 1; + private static final int METHODID_LIST_SERVICES = 2; + private static final int METHODID_UPDATE_SERVICE = 3; + private static final int METHODID_DELETE_SERVICE = 4; + private static final int METHODID_GET_IAM_POLICY = 5; + private static final int METHODID_SET_IAM_POLICY = 6; + private static final int METHODID_TEST_IAM_PERMISSIONS = 7; + + 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 ServicesImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ServicesImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_SERVICE: + serviceImpl.createService((com.google.cloud.run.v2.CreateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SERVICE: + serviceImpl.getService((com.google.cloud.run.v2.GetServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_SERVICES: + serviceImpl.listServices((com.google.cloud.run.v2.ListServicesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SERVICE: + serviceImpl.updateService((com.google.cloud.run.v2.UpdateServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_SERVICE: + serviceImpl.deleteService((com.google.cloud.run.v2.DeleteServiceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ServicesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ServicesBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.run.v2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Services"); + } + } + + private static final class ServicesFileDescriptorSupplier + extends ServicesBaseDescriptorSupplier { + ServicesFileDescriptorSupplier() {} + } + + private static final class ServicesMethodDescriptorSupplier + extends ServicesBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ServicesMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ServicesGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ServicesFileDescriptorSupplier()) + .addMethod(getCreateServiceMethod()) + .addMethod(getGetServiceMethod()) + .addMethod(getListServicesMethod()) + .addMethod(getUpdateServiceMethod()) + .addMethod(getDeleteServiceMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java new file mode 100644 index 000000000000..fb9c85040af0 --- /dev/null +++ b/owl-bot-staging/java-run/v2/grpc-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TasksGrpc.java @@ -0,0 +1,389 @@ +package com.google.cloud.run.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Cloud Run Task Control Plane API.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/run/v2/task.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class TasksGrpc { + + private TasksGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.run.v2.Tasks"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getGetTaskMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTask", + requestType = com.google.cloud.run.v2.GetTaskRequest.class, + responseType = com.google.cloud.run.v2.Task.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTaskMethod() { + io.grpc.MethodDescriptor getGetTaskMethod; + if ((getGetTaskMethod = TasksGrpc.getGetTaskMethod) == null) { + synchronized (TasksGrpc.class) { + if ((getGetTaskMethod = TasksGrpc.getGetTaskMethod) == null) { + TasksGrpc.getGetTaskMethod = getGetTaskMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTask")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.GetTaskRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.Task.getDefaultInstance())) + .setSchemaDescriptor(new TasksMethodDescriptorSupplier("GetTask")) + .build(); + } + } + } + return getGetTaskMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTasksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTasks", + requestType = com.google.cloud.run.v2.ListTasksRequest.class, + responseType = com.google.cloud.run.v2.ListTasksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTasksMethod() { + io.grpc.MethodDescriptor getListTasksMethod; + if ((getListTasksMethod = TasksGrpc.getListTasksMethod) == null) { + synchronized (TasksGrpc.class) { + if ((getListTasksMethod = TasksGrpc.getListTasksMethod) == null) { + TasksGrpc.getListTasksMethod = getListTasksMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTasks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListTasksRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.run.v2.ListTasksResponse.getDefaultInstance())) + .setSchemaDescriptor(new TasksMethodDescriptorSupplier("ListTasks")) + .build(); + } + } + } + return getListTasksMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static TasksStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TasksStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksStub(channel, callOptions); + } + }; + return TasksStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static TasksBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TasksBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksBlockingStub(channel, callOptions); + } + }; + return TasksBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static TasksFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public TasksFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksFutureStub(channel, callOptions); + } + }; + return TasksFutureStub.newStub(factory, channel); + } + + /** + *
+   * Cloud Run Task Control Plane API.
+   * 
+ */ + public static abstract class TasksImplBase implements io.grpc.BindableService { + + /** + *
+     * Gets information about a Task.
+     * 
+ */ + public void getTask(com.google.cloud.run.v2.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTaskMethod(), responseObserver); + } + + /** + *
+     * Lists Tasks from an Execution of a Job.
+     * 
+ */ + public void listTasks(com.google.cloud.run.v2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTasksMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getGetTaskMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.GetTaskRequest, + com.google.cloud.run.v2.Task>( + this, METHODID_GET_TASK))) + .addMethod( + getListTasksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.run.v2.ListTasksRequest, + com.google.cloud.run.v2.ListTasksResponse>( + this, METHODID_LIST_TASKS))) + .build(); + } + } + + /** + *
+   * Cloud Run Task Control Plane API.
+   * 
+ */ + public static final class TasksStub extends io.grpc.stub.AbstractAsyncStub { + private TasksStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TasksStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Task.
+     * 
+ */ + public void getTask(com.google.cloud.run.v2.GetTaskRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Tasks from an Execution of a Job.
+     * 
+ */ + public void listTasks(com.google.cloud.run.v2.ListTasksRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Cloud Run Task Control Plane API.
+   * 
+ */ + public static final class TasksBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private TasksBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TasksBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksBlockingStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Task.
+     * 
+ */ + public com.google.cloud.run.v2.Task getTask(com.google.cloud.run.v2.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTaskMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Tasks from an Execution of a Job.
+     * 
+ */ + public com.google.cloud.run.v2.ListTasksResponse listTasks(com.google.cloud.run.v2.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTasksMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Cloud Run Task Control Plane API.
+   * 
+ */ + public static final class TasksFutureStub extends io.grpc.stub.AbstractFutureStub { + private TasksFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected TasksFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new TasksFutureStub(channel, callOptions); + } + + /** + *
+     * Gets information about a Task.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTask( + com.google.cloud.run.v2.GetTaskRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTaskMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Tasks from an Execution of a Job.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTasks( + com.google.cloud.run.v2.ListTasksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTasksMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_GET_TASK = 0; + private static final int METHODID_LIST_TASKS = 1; + + 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 TasksImplBase serviceImpl; + private final int methodId; + + MethodHandlers(TasksImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_GET_TASK: + serviceImpl.getTask((com.google.cloud.run.v2.GetTaskRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TASKS: + serviceImpl.listTasks((com.google.cloud.run.v2.ListTasksRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class TasksBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + TasksBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.run.v2.TaskProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Tasks"); + } + } + + private static final class TasksFileDescriptorSupplier + extends TasksBaseDescriptorSupplier { + TasksFileDescriptorSupplier() {} + } + + private static final class TasksMethodDescriptorSupplier + extends TasksBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + TasksMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (TasksGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new TasksFileDescriptorSupplier()) + .addMethod(getGetTaskMethod()) + .addMethod(getListTasksMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java index cdab7f9e9a1a..7a1397239e49 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorization.java @@ -1,83 +1,61 @@ -/* - * 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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; /** - * - * *
  * Settings for Binary Authorization feature.
  * 
* * Protobuf type {@code google.cloud.run.v2.BinaryAuthorization} */ -public final class BinaryAuthorization extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BinaryAuthorization extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.BinaryAuthorization) BinaryAuthorizationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BinaryAuthorization.newBuilder() to construct. private BinaryAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BinaryAuthorization() { breakglassJustification_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BinaryAuthorization(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.BinaryAuthorization.class, - com.google.cloud.run.v2.BinaryAuthorization.Builder.class); + com.google.cloud.run.v2.BinaryAuthorization.class, com.google.cloud.run.v2.BinaryAuthorization.Builder.class); } private int binauthzMethodCase_ = 0; private java.lang.Object binauthzMethod_; - public enum BinauthzMethodCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USE_DEFAULT(1), BINAUTHZMETHOD_NOT_SET(0); private final int value; - private BinauthzMethodCase(int value) { this.value = value; } @@ -93,35 +71,30 @@ public static BinauthzMethodCase valueOf(int value) { public static BinauthzMethodCase forNumber(int value) { switch (value) { - case 1: - return USE_DEFAULT; - case 0: - return BINAUTHZMETHOD_NOT_SET; - default: - return null; + case 1: return USE_DEFAULT; + case 0: return BINAUTHZMETHOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public BinauthzMethodCase getBinauthzMethodCase() { - return BinauthzMethodCase.forNumber(binauthzMethodCase_); + public BinauthzMethodCase + getBinauthzMethodCase() { + return BinauthzMethodCase.forNumber( + binauthzMethodCase_); } public static final int USE_DEFAULT_FIELD_NUMBER = 1; /** - * - * *
    * If True, indicates to use the default project's binary authorization
    * policy. If False, binary authorization will be disabled.
    * 
* * bool use_default = 1; - * * @return Whether the useDefault field is set. */ @java.lang.Override @@ -129,15 +102,12 @@ public boolean hasUseDefault() { return binauthzMethodCase_ == 1; } /** - * - * *
    * If True, indicates to use the default project's binary authorization
    * policy. If False, binary authorization will be disabled.
    * 
* * bool use_default = 1; - * * @return The useDefault. */ @java.lang.Override @@ -151,8 +121,6 @@ public boolean getUseDefault() { public static final int BREAKGLASS_JUSTIFICATION_FIELD_NUMBER = 2; private volatile java.lang.Object breakglassJustification_; /** - * - * *
    * If present, indicates to use Breakglass using this justification.
    * If use_default is False, then it must be empty.
@@ -161,7 +129,6 @@ public boolean getUseDefault() {
    * 
* * string breakglass_justification = 2; - * * @return The breakglassJustification. */ @java.lang.Override @@ -170,15 +137,14 @@ public java.lang.String getBreakglassJustification() { 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(); breakglassJustification_ = s; return s; } } /** - * - * *
    * If present, indicates to use Breakglass using this justification.
    * If use_default is False, then it must be empty.
@@ -187,15 +153,16 @@ public java.lang.String getBreakglassJustification() {
    * 
* * string breakglass_justification = 2; - * * @return The bytes for breakglassJustification. */ @java.lang.Override - public com.google.protobuf.ByteString getBreakglassJustificationBytes() { + public com.google.protobuf.ByteString + getBreakglassJustificationBytes() { java.lang.Object ref = breakglassJustification_; 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); breakglassJustification_ = b; return b; } else { @@ -204,7 +171,6 @@ public com.google.protobuf.ByteString getBreakglassJustificationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,9 +182,11 @@ 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 (binauthzMethodCase_ == 1) { - output.writeBool(1, (boolean) ((java.lang.Boolean) binauthzMethod_)); + output.writeBool( + 1, (boolean)((java.lang.Boolean) binauthzMethod_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(breakglassJustification_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, breakglassJustification_); @@ -233,9 +201,9 @@ public int getSerializedSize() { size = 0; if (binauthzMethodCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 1, (boolean) ((java.lang.Boolean) binauthzMethod_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 1, (boolean)((java.lang.Boolean) binauthzMethod_)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(breakglassJustification_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, breakglassJustification_); @@ -248,19 +216,20 @@ 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.run.v2.BinaryAuthorization)) { return super.equals(obj); } - com.google.cloud.run.v2.BinaryAuthorization other = - (com.google.cloud.run.v2.BinaryAuthorization) obj; + com.google.cloud.run.v2.BinaryAuthorization other = (com.google.cloud.run.v2.BinaryAuthorization) obj; - if (!getBreakglassJustification().equals(other.getBreakglassJustification())) return false; + if (!getBreakglassJustification() + .equals(other.getBreakglassJustification())) return false; if (!getBinauthzMethodCase().equals(other.getBinauthzMethodCase())) return false; switch (binauthzMethodCase_) { case 1: - if (getUseDefault() != other.getUseDefault()) return false; + if (getUseDefault() + != other.getUseDefault()) return false; break; case 0: default: @@ -281,7 +250,8 @@ public int hashCode() { switch (binauthzMethodCase_) { case 1: hash = (37 * hash) + USE_DEFAULT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseDefault()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseDefault()); break; case 0: default: @@ -291,136 +261,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.BinaryAuthorization parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.BinaryAuthorization parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.BinaryAuthorization parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization 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 for Binary Authorization feature.
    * 
* * Protobuf type {@code google.cloud.run.v2.BinaryAuthorization} */ - 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.run.v2.BinaryAuthorization) com.google.cloud.run.v2.BinaryAuthorizationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.BinaryAuthorization.class, - com.google.cloud.run.v2.BinaryAuthorization.Builder.class); + com.google.cloud.run.v2.BinaryAuthorization.class, com.google.cloud.run.v2.BinaryAuthorization.Builder.class); } // Construct using com.google.cloud.run.v2.BinaryAuthorization.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +396,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; } @java.lang.Override @@ -453,8 +417,7 @@ public com.google.cloud.run.v2.BinaryAuthorization build() { @java.lang.Override public com.google.cloud.run.v2.BinaryAuthorization buildPartial() { - com.google.cloud.run.v2.BinaryAuthorization result = - new com.google.cloud.run.v2.BinaryAuthorization(this); + com.google.cloud.run.v2.BinaryAuthorization result = new com.google.cloud.run.v2.BinaryAuthorization(this); if (binauthzMethodCase_ == 1) { result.binauthzMethod_ = binauthzMethod_; } @@ -468,39 +431,38 @@ public com.google.cloud.run.v2.BinaryAuthorization 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.run.v2.BinaryAuthorization) { - return mergeFrom((com.google.cloud.run.v2.BinaryAuthorization) other); + return mergeFrom((com.google.cloud.run.v2.BinaryAuthorization)other); } else { super.mergeFrom(other); return this; @@ -514,15 +476,13 @@ public Builder mergeFrom(com.google.cloud.run.v2.BinaryAuthorization other) { onChanged(); } switch (other.getBinauthzMethodCase()) { - case USE_DEFAULT: - { - setUseDefault(other.getUseDefault()); - break; - } - case BINAUTHZMETHOD_NOT_SET: - { - break; - } + case USE_DEFAULT: { + setUseDefault(other.getUseDefault()); + break; + } + case BINAUTHZMETHOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -550,25 +510,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - binauthzMethod_ = input.readBool(); - binauthzMethodCase_ = 1; - break; - } // case 8 - case 18: - { - breakglassJustification_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + binauthzMethod_ = input.readBool(); + binauthzMethodCase_ = 1; + break; + } // case 8 + case 18: { + breakglassJustification_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -578,12 +535,12 @@ public Builder mergeFrom( } // finally return this; } - private int binauthzMethodCase_ = 0; private java.lang.Object binauthzMethod_; - - public BinauthzMethodCase getBinauthzMethodCase() { - return BinauthzMethodCase.forNumber(binauthzMethodCase_); + public BinauthzMethodCase + getBinauthzMethodCase() { + return BinauthzMethodCase.forNumber( + binauthzMethodCase_); } public Builder clearBinauthzMethod() { @@ -593,31 +550,26 @@ public Builder clearBinauthzMethod() { return this; } + /** - * - * *
      * If True, indicates to use the default project's binary authorization
      * policy. If False, binary authorization will be disabled.
      * 
* * bool use_default = 1; - * * @return Whether the useDefault field is set. */ public boolean hasUseDefault() { return binauthzMethodCase_ == 1; } /** - * - * *
      * If True, indicates to use the default project's binary authorization
      * policy. If False, binary authorization will be disabled.
      * 
* * bool use_default = 1; - * * @return The useDefault. */ public boolean getUseDefault() { @@ -627,15 +579,12 @@ public boolean getUseDefault() { return false; } /** - * - * *
      * If True, indicates to use the default project's binary authorization
      * policy. If False, binary authorization will be disabled.
      * 
* * bool use_default = 1; - * * @param value The useDefault to set. * @return This builder for chaining. */ @@ -646,15 +595,12 @@ public Builder setUseDefault(boolean value) { return this; } /** - * - * *
      * If True, indicates to use the default project's binary authorization
      * policy. If False, binary authorization will be disabled.
      * 
* * bool use_default = 1; - * * @return This builder for chaining. */ public Builder clearUseDefault() { @@ -668,8 +614,6 @@ public Builder clearUseDefault() { private java.lang.Object breakglassJustification_ = ""; /** - * - * *
      * If present, indicates to use Breakglass using this justification.
      * If use_default is False, then it must be empty.
@@ -678,13 +622,13 @@ public Builder clearUseDefault() {
      * 
* * string breakglass_justification = 2; - * * @return The breakglassJustification. */ public java.lang.String getBreakglassJustification() { java.lang.Object ref = breakglassJustification_; 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(); breakglassJustification_ = s; return s; @@ -693,8 +637,6 @@ public java.lang.String getBreakglassJustification() { } } /** - * - * *
      * If present, indicates to use Breakglass using this justification.
      * If use_default is False, then it must be empty.
@@ -703,14 +645,15 @@ public java.lang.String getBreakglassJustification() {
      * 
* * string breakglass_justification = 2; - * * @return The bytes for breakglassJustification. */ - public com.google.protobuf.ByteString getBreakglassJustificationBytes() { + public com.google.protobuf.ByteString + getBreakglassJustificationBytes() { java.lang.Object ref = breakglassJustification_; 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); breakglassJustification_ = b; return b; } else { @@ -718,8 +661,6 @@ public com.google.protobuf.ByteString getBreakglassJustificationBytes() { } } /** - * - * *
      * If present, indicates to use Breakglass using this justification.
      * If use_default is False, then it must be empty.
@@ -728,22 +669,20 @@ public com.google.protobuf.ByteString getBreakglassJustificationBytes() {
      * 
* * string breakglass_justification = 2; - * * @param value The breakglassJustification to set. * @return This builder for chaining. */ - public Builder setBreakglassJustification(java.lang.String value) { + public Builder setBreakglassJustification( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + breakglassJustification_ = value; onChanged(); return this; } /** - * - * *
      * If present, indicates to use Breakglass using this justification.
      * If use_default is False, then it must be empty.
@@ -752,18 +691,15 @@ public Builder setBreakglassJustification(java.lang.String value) {
      * 
* * string breakglass_justification = 2; - * * @return This builder for chaining. */ public Builder clearBreakglassJustification() { - + breakglassJustification_ = getDefaultInstance().getBreakglassJustification(); onChanged(); return this; } /** - * - * *
      * If present, indicates to use Breakglass using this justification.
      * If use_default is False, then it must be empty.
@@ -772,23 +708,23 @@ public Builder clearBreakglassJustification() {
      * 
* * string breakglass_justification = 2; - * * @param value The bytes for breakglassJustification to set. * @return This builder for chaining. */ - public Builder setBreakglassJustificationBytes(com.google.protobuf.ByteString value) { + public Builder setBreakglassJustificationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + breakglassJustification_ = 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); } @@ -798,12 +734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.BinaryAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.BinaryAuthorization) private static final com.google.cloud.run.v2.BinaryAuthorization DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.BinaryAuthorization(); } @@ -812,27 +748,27 @@ public static com.google.cloud.run.v2.BinaryAuthorization getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BinaryAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BinaryAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,4 +783,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.BinaryAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java index e5d7041eb156..5080ca3d785c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/BinaryAuthorizationOrBuilder.java @@ -1,58 +1,34 @@ -/* - * 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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; -public interface BinaryAuthorizationOrBuilder - extends +public interface BinaryAuthorizationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.BinaryAuthorization) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If True, indicates to use the default project's binary authorization
    * policy. If False, binary authorization will be disabled.
    * 
* * bool use_default = 1; - * * @return Whether the useDefault field is set. */ boolean hasUseDefault(); /** - * - * *
    * If True, indicates to use the default project's binary authorization
    * policy. If False, binary authorization will be disabled.
    * 
* * bool use_default = 1; - * * @return The useDefault. */ boolean getUseDefault(); /** - * - * *
    * If present, indicates to use Breakglass using this justification.
    * If use_default is False, then it must be empty.
@@ -61,13 +37,10 @@ public interface BinaryAuthorizationOrBuilder
    * 
* * string breakglass_justification = 2; - * * @return The breakglassJustification. */ java.lang.String getBreakglassJustification(); /** - * - * *
    * If present, indicates to use Breakglass using this justification.
    * If use_default is False, then it must be empty.
@@ -76,10 +49,10 @@ public interface BinaryAuthorizationOrBuilder
    * 
* * string breakglass_justification = 2; - * * @return The bytes for breakglassJustification. */ - com.google.protobuf.ByteString getBreakglassJustificationBytes(); + com.google.protobuf.ByteString + getBreakglassJustificationBytes(); public com.google.cloud.run.v2.BinaryAuthorization.BinauthzMethodCase getBinauthzMethodCase(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java similarity index 71% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java index b63a2340121d..86b52826d3f6 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstance.java @@ -1,77 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * Represents a specific Cloud SQL instance.
  * 
* * Protobuf type {@code google.cloud.run.v2.CloudSqlInstance} */ -public final class CloudSqlInstance extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CloudSqlInstance extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.CloudSqlInstance) CloudSqlInstanceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CloudSqlInstance.newBuilder() to construct. private CloudSqlInstance(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CloudSqlInstance() { instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CloudSqlInstance(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CloudSqlInstance.class, - com.google.cloud.run.v2.CloudSqlInstance.Builder.class); + com.google.cloud.run.v2.CloudSqlInstance.class, com.google.cloud.run.v2.CloudSqlInstance.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList instances_; /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -81,15 +60,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * repeated string instances = 1; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_; } /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -99,15 +76,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
    * 
* * repeated string instances = 1; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -117,7 +91,6 @@ public int getInstancesCount() {
    * 
* * repeated string instances = 1; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -125,8 +98,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -136,16 +107,15 @@ public java.lang.String getInstances(int index) {
    * 
* * repeated string instances = 1; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,7 +127,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 < instances_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instances_.getRaw(i)); } @@ -186,14 +157,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.run.v2.CloudSqlInstance)) { return super.equals(obj); } com.google.cloud.run.v2.CloudSqlInstance other = (com.google.cloud.run.v2.CloudSqlInstance) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,136 +186,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.CloudSqlInstance parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.CloudSqlInstance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.CloudSqlInstance parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance 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; } /** - * - * *
    * Represents a specific Cloud SQL instance.
    * 
* * Protobuf type {@code google.cloud.run.v2.CloudSqlInstance} */ - 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.run.v2.CloudSqlInstance) com.google.cloud.run.v2.CloudSqlInstanceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CloudSqlInstance.class, - com.google.cloud.run.v2.CloudSqlInstance.Builder.class); + com.google.cloud.run.v2.CloudSqlInstance.class, com.google.cloud.run.v2.CloudSqlInstance.Builder.class); } // Construct using com.google.cloud.run.v2.CloudSqlInstance.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -353,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; } @java.lang.Override @@ -374,8 +340,7 @@ public com.google.cloud.run.v2.CloudSqlInstance build() { @java.lang.Override public com.google.cloud.run.v2.CloudSqlInstance buildPartial() { - com.google.cloud.run.v2.CloudSqlInstance result = - new com.google.cloud.run.v2.CloudSqlInstance(this); + com.google.cloud.run.v2.CloudSqlInstance result = new com.google.cloud.run.v2.CloudSqlInstance(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { instances_ = instances_.getUnmodifiableView(); @@ -390,39 +355,38 @@ public com.google.cloud.run.v2.CloudSqlInstance 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.run.v2.CloudSqlInstance) { - return mergeFrom((com.google.cloud.run.v2.CloudSqlInstance) other); + return mergeFrom((com.google.cloud.run.v2.CloudSqlInstance)other); } else { super.mergeFrom(other); return this; @@ -467,20 +431,18 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureInstancesIsMutable(); - instances_.add(s); - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + ensureInstancesIsMutable(); + instances_.add(s); + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,21 +452,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList instances_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList instances_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new com.google.protobuf.LazyStringArrayList(instances_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -514,15 +471,13 @@ private void ensureInstancesIsMutable() {
      * 
* * repeated string instances = 1; - * * @return A list containing the instances. */ - public com.google.protobuf.ProtocolStringList getInstancesList() { + public com.google.protobuf.ProtocolStringList + getInstancesList() { return instances_.getUnmodifiableView(); } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -532,15 +487,12 @@ public com.google.protobuf.ProtocolStringList getInstancesList() {
      * 
* * repeated string instances = 1; - * * @return The count of instances. */ public int getInstancesCount() { return instances_.size(); } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -550,7 +502,6 @@ public int getInstancesCount() {
      * 
* * repeated string instances = 1; - * * @param index The index of the element to return. * @return The instances at the given index. */ @@ -558,8 +509,6 @@ public java.lang.String getInstances(int index) { return instances_.get(index); } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -569,16 +518,14 @@ public java.lang.String getInstances(int index) {
      * 
* * repeated string instances = 1; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - public com.google.protobuf.ByteString getInstancesBytes(int index) { + public com.google.protobuf.ByteString + getInstancesBytes(int index) { return instances_.getByteString(index); } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -588,23 +535,21 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) {
      * 
* * repeated string instances = 1; - * * @param index The index to set the value at. * @param value The instances to set. * @return This builder for chaining. */ - public Builder setInstances(int index, java.lang.String value) { + public Builder setInstances( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.set(index, value); onChanged(); return this; } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -614,22 +559,20 @@ public Builder setInstances(int index, java.lang.String value) {
      * 
* * repeated string instances = 1; - * * @param value The instances to add. * @return This builder for chaining. */ - public Builder addInstances(java.lang.String value) { + public Builder addInstances( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureInstancesIsMutable(); + throw new NullPointerException(); + } + ensureInstancesIsMutable(); instances_.add(value); onChanged(); return this; } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -639,19 +582,18 @@ public Builder addInstances(java.lang.String value) {
      * 
* * repeated string instances = 1; - * * @param values The instances to add. * @return This builder for chaining. */ - public Builder addAllInstances(java.lang.Iterable values) { + public Builder addAllInstances( + java.lang.Iterable values) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); return this; } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -661,7 +603,6 @@ public Builder addAllInstances(java.lang.Iterable values) {
      * 
* * repeated string instances = 1; - * * @return This builder for chaining. */ public Builder clearInstances() { @@ -671,8 +612,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The Cloud SQL instance connection names, as can be found in
      * https://console.cloud.google.com/sql/instances. Visit
@@ -682,23 +621,23 @@ public Builder clearInstances() {
      * 
* * repeated string instances = 1; - * * @param value The bytes of the instances to add. * @return This builder for chaining. */ - public Builder addInstancesBytes(com.google.protobuf.ByteString value) { + public Builder addInstancesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureInstancesIsMutable(); instances_.add(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); } @@ -708,12 +647,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.CloudSqlInstance) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.CloudSqlInstance) private static final com.google.cloud.run.v2.CloudSqlInstance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.CloudSqlInstance(); } @@ -722,27 +661,27 @@ public static com.google.cloud.run.v2.CloudSqlInstance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CloudSqlInstance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloudSqlInstance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -757,4 +696,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.CloudSqlInstance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java index e3e803e2dd2a..7d86c2e56e33 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CloudSqlInstanceOrBuilder.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface CloudSqlInstanceOrBuilder - extends +public interface CloudSqlInstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.CloudSqlInstance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -35,13 +17,11 @@ public interface CloudSqlInstanceOrBuilder
    * 
* * repeated string instances = 1; - * * @return A list containing the instances. */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -51,13 +31,10 @@ public interface CloudSqlInstanceOrBuilder
    * 
* * repeated string instances = 1; - * * @return The count of instances. */ int getInstancesCount(); /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -67,14 +44,11 @@ public interface CloudSqlInstanceOrBuilder
    * 
* * repeated string instances = 1; - * * @param index The index of the element to return. * @return The instances at the given index. */ java.lang.String getInstances(int index); /** - * - * *
    * The Cloud SQL instance connection names, as can be found in
    * https://console.cloud.google.com/sql/instances. Visit
@@ -84,9 +58,9 @@ public interface CloudSqlInstanceOrBuilder
    * 
* * repeated string instances = 1; - * * @param index The index of the value to return. * @return The bytes of the instances at the given index. */ - com.google.protobuf.ByteString getInstancesBytes(int index); + com.google.protobuf.ByteString + getInstancesBytes(int index); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java similarity index 75% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java index e6506791795d..e6edf8e4877b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Condition.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/run/v2/condition.proto package com.google.cloud.run.v2; /** - * - * *
  * Defines a status condition for a resource.
  * 
* * Protobuf type {@code google.cloud.run.v2.Condition} */ -public final class Condition extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Condition extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Condition) ConditionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Condition.newBuilder() to construct. private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Condition() { type_ = ""; state_ = 0; @@ -46,43 +28,39 @@ private Condition() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Condition(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ConditionProto - .internal_static_google_cloud_run_v2_Condition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ConditionProto.internal_static_google_cloud_run_v2_Condition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ConditionProto - .internal_static_google_cloud_run_v2_Condition_fieldAccessorTable + return com.google.cloud.run.v2.ConditionProto.internal_static_google_cloud_run_v2_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.Condition.class, - com.google.cloud.run.v2.Condition.Builder.class); + com.google.cloud.run.v2.Condition.class, com.google.cloud.run.v2.Condition.Builder.class); } /** - * - * *
    * Represents the possible Condition states.
    * 
* * Protobuf enum {@code google.cloud.run.v2.Condition.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -91,8 +69,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Transient state: Reconciliation has not started yet.
      * 
@@ -101,8 +77,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CONDITION_PENDING(1), /** - * - * *
      * Transient state: reconciliation is still in progress.
      * 
@@ -111,8 +85,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CONDITION_RECONCILING(2), /** - * - * *
      * Terminal state: Reconciliation did not succeed.
      * 
@@ -121,8 +93,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CONDITION_FAILED(3), /** - * - * *
      * Terminal state: Reconciliation completed successfully.
      * 
@@ -134,8 +104,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The default value. This value is used if the state is omitted.
      * 
@@ -144,8 +112,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Transient state: Reconciliation has not started yet.
      * 
@@ -154,8 +120,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONDITION_PENDING_VALUE = 1; /** - * - * *
      * Transient state: reconciliation is still in progress.
      * 
@@ -164,8 +128,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONDITION_RECONCILING_VALUE = 2; /** - * - * *
      * Terminal state: Reconciliation did not succeed.
      * 
@@ -174,8 +136,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONDITION_FAILED_VALUE = 3; /** - * - * *
      * Terminal state: Reconciliation completed successfully.
      * 
@@ -184,6 +144,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONDITION_SUCCEEDED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -208,53 +169,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CONDITION_PENDING; - case 2: - return CONDITION_RECONCILING; - case 3: - return CONDITION_FAILED; - case 4: - return CONDITION_SUCCEEDED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return CONDITION_PENDING; + case 2: return CONDITION_RECONCILING; + case 3: return CONDITION_FAILED; + case 4: return CONDITION_SUCCEEDED; + default: return null; + } } - 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 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() { + 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.run.v2.Condition.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; @@ -272,18 +231,15 @@ private State(int value) { } /** - * - * *
    * Represents the severity of the condition failures.
    * 
* * Protobuf enum {@code google.cloud.run.v2.Condition.Severity} */ - public enum Severity implements com.google.protobuf.ProtocolMessageEnum { + public enum Severity + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified severity
      * 
@@ -292,8 +248,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ SEVERITY_UNSPECIFIED(0), /** - * - * *
      * Error severity.
      * 
@@ -302,8 +256,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ ERROR(1), /** - * - * *
      * Warning severity.
      * 
@@ -312,8 +264,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ WARNING(2), /** - * - * *
      * Info severity.
      * 
@@ -325,8 +275,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified severity
      * 
@@ -335,8 +283,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SEVERITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Error severity.
      * 
@@ -345,8 +291,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ERROR_VALUE = 1; /** - * - * *
      * Warning severity.
      * 
@@ -355,8 +299,6 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WARNING_VALUE = 2; /** - * - * *
      * Info severity.
      * 
@@ -365,6 +307,7 @@ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INFO_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -389,51 +332,50 @@ public static Severity valueOf(int value) { */ public static Severity forNumber(int value) { switch (value) { - case 0: - return SEVERITY_UNSPECIFIED; - case 1: - return ERROR; - case 2: - return WARNING; - case 3: - return INFO; - default: - return null; + case 0: return SEVERITY_UNSPECIFIED; + case 1: return ERROR; + case 2: return WARNING; + case 3: return INFO; + 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< + Severity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Severity findValueByNumber(int number) { + return Severity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Severity findValueByNumber(int number) { - return Severity.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.run.v2.Condition.getDescriptor().getEnumTypes().get(1); } private static final Severity[] VALUES = values(); - public static Severity valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Severity 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; @@ -451,18 +393,15 @@ private Severity(int value) { } /** - * - * *
    * Reasons common to all types of conditions.
    * 
* * Protobuf enum {@code google.cloud.run.v2.Condition.CommonReason} */ - public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { + public enum CommonReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -471,8 +410,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ COMMON_REASON_UNDEFINED(0), /** - * - * *
      * Reason unknown. Further details will be in message.
      * 
@@ -481,8 +418,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ UNKNOWN(1), /** - * - * *
      * Revision creation process failed.
      * 
@@ -491,8 +426,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ REVISION_FAILED(3), /** - * - * *
      * Timed out waiting for completion.
      * 
@@ -501,8 +434,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ PROGRESS_DEADLINE_EXCEEDED(4), /** - * - * *
      * The container image path is incorrect.
      * 
@@ -511,8 +442,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINER_MISSING(6), /** - * - * *
      * Insufficient permissions on the container image.
      * 
@@ -521,8 +450,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINER_PERMISSION_DENIED(7), /** - * - * *
      * Container image is not authorized by policy.
      * 
@@ -531,8 +458,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINER_IMAGE_UNAUTHORIZED(8), /** - * - * *
      * Container image policy authorization check failed.
      * 
@@ -541,8 +466,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED(9), /** - * - * *
      * Insufficient permissions on encryption key.
      * 
@@ -551,8 +474,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_KEY_PERMISSION_DENIED(10), /** - * - * *
      * Permission check on encryption key failed.
      * 
@@ -561,8 +482,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_KEY_CHECK_FAILED(11), /** - * - * *
      * At least one Access check on secrets failed.
      * 
@@ -571,8 +490,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ SECRETS_ACCESS_CHECK_FAILED(12), /** - * - * *
      * Waiting for operation to complete.
      * 
@@ -581,8 +498,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ WAITING_FOR_OPERATION(13), /** - * - * *
      * System will retry immediately.
      * 
@@ -591,8 +506,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ IMMEDIATE_RETRY(14), /** - * - * *
      * System will retry later; current attempt failed.
      * 
@@ -601,8 +514,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ POSTPONED_RETRY(15), /** - * - * *
      * An internal error occurred. Further information may be in the message.
      * 
@@ -614,8 +525,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -624,8 +533,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMMON_REASON_UNDEFINED_VALUE = 0; /** - * - * *
      * Reason unknown. Further details will be in message.
      * 
@@ -634,8 +541,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int UNKNOWN_VALUE = 1; /** - * - * *
      * Revision creation process failed.
      * 
@@ -644,8 +549,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REVISION_FAILED_VALUE = 3; /** - * - * *
      * Timed out waiting for completion.
      * 
@@ -654,8 +557,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROGRESS_DEADLINE_EXCEEDED_VALUE = 4; /** - * - * *
      * The container image path is incorrect.
      * 
@@ -664,8 +565,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINER_MISSING_VALUE = 6; /** - * - * *
      * Insufficient permissions on the container image.
      * 
@@ -674,8 +573,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINER_PERMISSION_DENIED_VALUE = 7; /** - * - * *
      * Container image is not authorized by policy.
      * 
@@ -684,8 +581,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINER_IMAGE_UNAUTHORIZED_VALUE = 8; /** - * - * *
      * Container image policy authorization check failed.
      * 
@@ -694,8 +589,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED_VALUE = 9; /** - * - * *
      * Insufficient permissions on encryption key.
      * 
@@ -704,8 +597,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_KEY_PERMISSION_DENIED_VALUE = 10; /** - * - * *
      * Permission check on encryption key failed.
      * 
@@ -714,8 +605,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_KEY_CHECK_FAILED_VALUE = 11; /** - * - * *
      * At least one Access check on secrets failed.
      * 
@@ -724,8 +613,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SECRETS_ACCESS_CHECK_FAILED_VALUE = 12; /** - * - * *
      * Waiting for operation to complete.
      * 
@@ -734,8 +621,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int WAITING_FOR_OPERATION_VALUE = 13; /** - * - * *
      * System will retry immediately.
      * 
@@ -744,8 +629,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMMEDIATE_RETRY_VALUE = 14; /** - * - * *
      * System will retry later; current attempt failed.
      * 
@@ -754,8 +637,6 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int POSTPONED_RETRY_VALUE = 15; /** - * - * *
      * An internal error occurred. Further information may be in the message.
      * 
@@ -764,6 +645,7 @@ public enum CommonReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INTERNAL_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -788,73 +670,61 @@ public static CommonReason valueOf(int value) { */ public static CommonReason forNumber(int value) { switch (value) { - case 0: - return COMMON_REASON_UNDEFINED; - case 1: - return UNKNOWN; - case 3: - return REVISION_FAILED; - case 4: - return PROGRESS_DEADLINE_EXCEEDED; - case 6: - return CONTAINER_MISSING; - case 7: - return CONTAINER_PERMISSION_DENIED; - case 8: - return CONTAINER_IMAGE_UNAUTHORIZED; - case 9: - return CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED; - case 10: - return ENCRYPTION_KEY_PERMISSION_DENIED; - case 11: - return ENCRYPTION_KEY_CHECK_FAILED; - case 12: - return SECRETS_ACCESS_CHECK_FAILED; - case 13: - return WAITING_FOR_OPERATION; - case 14: - return IMMEDIATE_RETRY; - case 15: - return POSTPONED_RETRY; - case 16: - return INTERNAL; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return COMMON_REASON_UNDEFINED; + case 1: return UNKNOWN; + case 3: return REVISION_FAILED; + case 4: return PROGRESS_DEADLINE_EXCEEDED; + case 6: return CONTAINER_MISSING; + case 7: return CONTAINER_PERMISSION_DENIED; + case 8: return CONTAINER_IMAGE_UNAUTHORIZED; + case 9: return CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED; + case 10: return ENCRYPTION_KEY_PERMISSION_DENIED; + case 11: return ENCRYPTION_KEY_CHECK_FAILED; + case 12: return SECRETS_ACCESS_CHECK_FAILED; + case 13: return WAITING_FOR_OPERATION; + case 14: return IMMEDIATE_RETRY; + case 15: return POSTPONED_RETRY; + case 16: return INTERNAL; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + CommonReason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommonReason findValueByNumber(int number) { + return CommonReason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CommonReason findValueByNumber(int number) { - return CommonReason.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.run.v2.Condition.getDescriptor().getEnumTypes().get(2); } private static final CommonReason[] VALUES = values(); - public static CommonReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CommonReason 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; @@ -872,18 +742,15 @@ private CommonReason(int value) { } /** - * - * *
    * Reasons specific to Revision resource.
    * 
* * Protobuf enum {@code google.cloud.run.v2.Condition.RevisionReason} */ - public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { + public enum RevisionReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -892,8 +759,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ REVISION_REASON_UNDEFINED(0), /** - * - * *
      * Revision in Pending state.
      * 
@@ -902,8 +767,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * Revision is in Reserve state.
      * 
@@ -912,8 +775,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ RESERVE(2), /** - * - * *
      * Revision is Retired.
      * 
@@ -922,8 +783,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ RETIRED(3), /** - * - * *
      * Revision is being retired.
      * 
@@ -932,8 +791,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ RETIRING(4), /** - * - * *
      * Revision is being recreated.
      * 
@@ -942,8 +799,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ RECREATING(5), /** - * - * *
      * There was a health check error.
      * 
@@ -952,8 +807,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ HEALTH_CHECK_CONTAINER_ERROR(6), /** - * - * *
      * Health check failed due to user error from customized path of the
      * container. System will retry.
@@ -963,8 +816,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     CUSTOMIZED_PATH_RESPONSE_PENDING(7),
     /**
-     *
-     *
      * 
      * A revision with min_instance_count > 0 was created and is reserved, but
      * it was not configured to serve traffic, so it's not live. This can also
@@ -975,8 +826,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     MIN_INSTANCES_NOT_PROVISIONED(8),
     /**
-     *
-     *
      * 
      * The maximum allowed number of active revisions has been reached.
      * 
@@ -985,8 +834,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE_REVISION_LIMIT_REACHED(9), /** - * - * *
      * There was no deployment defined.
      * This value is no longer used, but Services created in older versions of
@@ -997,8 +844,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     NO_DEPLOYMENT(10),
     /**
-     *
-     *
      * 
      * A revision's container has no port specified since the revision is of a
      * manually scaled service with 0 instance count
@@ -1011,8 +856,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value.
      * 
@@ -1021,8 +864,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REVISION_REASON_UNDEFINED_VALUE = 0; /** - * - * *
      * Revision in Pending state.
      * 
@@ -1031,8 +872,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * Revision is in Reserve state.
      * 
@@ -1041,8 +880,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESERVE_VALUE = 2; /** - * - * *
      * Revision is Retired.
      * 
@@ -1051,8 +888,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RETIRED_VALUE = 3; /** - * - * *
      * Revision is being retired.
      * 
@@ -1061,8 +896,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RETIRING_VALUE = 4; /** - * - * *
      * Revision is being recreated.
      * 
@@ -1071,8 +904,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RECREATING_VALUE = 5; /** - * - * *
      * There was a health check error.
      * 
@@ -1081,8 +912,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HEALTH_CHECK_CONTAINER_ERROR_VALUE = 6; /** - * - * *
      * Health check failed due to user error from customized path of the
      * container. System will retry.
@@ -1092,8 +921,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMIZED_PATH_RESPONSE_PENDING_VALUE = 7;
     /**
-     *
-     *
      * 
      * A revision with min_instance_count > 0 was created and is reserved, but
      * it was not configured to serve traffic, so it's not live. This can also
@@ -1104,8 +931,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MIN_INSTANCES_NOT_PROVISIONED_VALUE = 8;
     /**
-     *
-     *
      * 
      * The maximum allowed number of active revisions has been reached.
      * 
@@ -1114,8 +939,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_REVISION_LIMIT_REACHED_VALUE = 9; /** - * - * *
      * There was no deployment defined.
      * This value is no longer used, but Services created in older versions of
@@ -1126,8 +949,6 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NO_DEPLOYMENT_VALUE = 10;
     /**
-     *
-     *
      * 
      * A revision's container has no port specified since the revision is of a
      * manually scaled service with 0 instance count
@@ -1137,6 +958,7 @@ public enum RevisionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HEALTH_CHECK_SKIPPED_VALUE = 11;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -1161,67 +983,58 @@ public static RevisionReason valueOf(int value) {
      */
     public static RevisionReason forNumber(int value) {
       switch (value) {
-        case 0:
-          return REVISION_REASON_UNDEFINED;
-        case 1:
-          return PENDING;
-        case 2:
-          return RESERVE;
-        case 3:
-          return RETIRED;
-        case 4:
-          return RETIRING;
-        case 5:
-          return RECREATING;
-        case 6:
-          return HEALTH_CHECK_CONTAINER_ERROR;
-        case 7:
-          return CUSTOMIZED_PATH_RESPONSE_PENDING;
-        case 8:
-          return MIN_INSTANCES_NOT_PROVISIONED;
-        case 9:
-          return ACTIVE_REVISION_LIMIT_REACHED;
-        case 10:
-          return NO_DEPLOYMENT;
-        case 11:
-          return HEALTH_CHECK_SKIPPED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+        case 0: return REVISION_REASON_UNDEFINED;
+        case 1: return PENDING;
+        case 2: return RESERVE;
+        case 3: return RETIRED;
+        case 4: return RETIRING;
+        case 5: return RECREATING;
+        case 6: return HEALTH_CHECK_CONTAINER_ERROR;
+        case 7: return CUSTOMIZED_PATH_RESPONSE_PENDING;
+        case 8: return MIN_INSTANCES_NOT_PROVISIONED;
+        case 9: return ACTIVE_REVISION_LIMIT_REACHED;
+        case 10: return NO_DEPLOYMENT;
+        case 11: return HEALTH_CHECK_SKIPPED;
+        default: return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RevisionReason> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RevisionReason findValueByNumber(int number) {
+              return RevisionReason.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public RevisionReason findValueByNumber(int number) {
-            return RevisionReason.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.run.v2.Condition.getDescriptor().getEnumTypes().get(3);
     }
 
     private static final RevisionReason[] VALUES = values();
 
-    public static RevisionReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static RevisionReason 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;
@@ -1239,18 +1052,15 @@ private RevisionReason(int value) {
   }
 
   /**
-   *
-   *
    * 
    * Reasons specific to Execution resource.
    * 
* * Protobuf enum {@code google.cloud.run.v2.Condition.ExecutionReason} */ - public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { + public enum ExecutionReason + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value.
      * 
@@ -1259,8 +1069,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { */ EXECUTION_REASON_UNDEFINED(0), /** - * - * *
      * Internal system error getting execution status. System will retry.
      * 
@@ -1269,8 +1077,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { */ JOB_STATUS_SERVICE_POLLING_ERROR(1), /** - * - * *
      * A task reached its retry limit and the last attempt failed due to the
      * user container exiting with a non-zero exit code.
@@ -1280,8 +1086,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     NON_ZERO_EXIT_CODE(2),
     /**
-     *
-     *
      * 
      * The execution was cancelled by users.
      * 
@@ -1293,8 +1097,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Default value.
      * 
@@ -1303,8 +1105,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTION_REASON_UNDEFINED_VALUE = 0; /** - * - * *
      * Internal system error getting execution status. System will retry.
      * 
@@ -1313,8 +1113,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int JOB_STATUS_SERVICE_POLLING_ERROR_VALUE = 1; /** - * - * *
      * A task reached its retry limit and the last attempt failed due to the
      * user container exiting with a non-zero exit code.
@@ -1324,8 +1122,6 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NON_ZERO_EXIT_CODE_VALUE = 2;
     /**
-     *
-     *
      * 
      * The execution was cancelled by users.
      * 
@@ -1334,6 +1130,7 @@ public enum ExecutionReason implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1358,44 +1155,40 @@ public static ExecutionReason valueOf(int value) { */ public static ExecutionReason forNumber(int value) { switch (value) { - case 0: - return EXECUTION_REASON_UNDEFINED; - case 1: - return JOB_STATUS_SERVICE_POLLING_ERROR; - case 2: - return NON_ZERO_EXIT_CODE; - case 3: - return CANCELLED; - default: - return null; + case 0: return EXECUTION_REASON_UNDEFINED; + case 1: return JOB_STATUS_SERVICE_POLLING_ERROR; + case 2: return NON_ZERO_EXIT_CODE; + case 3: return CANCELLED; + 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< + ExecutionReason> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExecutionReason findValueByNumber(int number) { + return ExecutionReason.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionReason findValueByNumber(int number) { - return ExecutionReason.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.run.v2.Condition.getDescriptor().getEnumTypes().get(4); } @@ -1404,7 +1197,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ExecutionReason 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; @@ -1423,17 +1217,14 @@ private ExecutionReason(int value) { private int reasonsCase_ = 0; private java.lang.Object reasons_; - public enum ReasonsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { REASON(6), REVISION_REASON(9), EXECUTION_REASON(11), REASONS_NOT_SET(0); private final int value; - private ReasonsCase(int value) { this.value = value; } @@ -1449,33 +1240,27 @@ public static ReasonsCase valueOf(int value) { public static ReasonsCase forNumber(int value) { switch (value) { - case 6: - return REASON; - case 9: - return REVISION_REASON; - case 11: - return EXECUTION_REASON; - case 0: - return REASONS_NOT_SET; - default: - return null; + case 6: return REASON; + case 9: return REVISION_REASON; + case 11: return EXECUTION_REASON; + case 0: return REASONS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ReasonsCase getReasonsCase() { - return ReasonsCase.forNumber(reasonsCase_); + public ReasonsCase + getReasonsCase() { + return ReasonsCase.forNumber( + reasonsCase_); } public static final int TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object type_; /** - * - * *
    * type is used to communicate the status of the reconciliation process.
    * See also:
@@ -1485,7 +1270,6 @@ public ReasonsCase getReasonsCase() {
    * 
* * string type = 1; - * * @return The type. */ @java.lang.Override @@ -1494,15 +1278,14 @@ public java.lang.String getType() { 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(); type_ = s; return s; } } /** - * - * *
    * type is used to communicate the status of the reconciliation process.
    * See also:
@@ -1512,15 +1295,16 @@ public java.lang.String getType() {
    * 
* * string type = 1; - * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -1531,50 +1315,38 @@ public com.google.protobuf.ByteString getTypeBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** - * - * *
    * State of the condition.
    * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * State of the condition.
    * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The state. */ - @java.lang.Override - public com.google.cloud.run.v2.Condition.State getState() { + @java.lang.Override public com.google.cloud.run.v2.Condition.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.State result = - com.google.cloud.run.v2.Condition.State.valueOf(state_); + com.google.cloud.run.v2.Condition.State result = com.google.cloud.run.v2.Condition.State.valueOf(state_); return result == null ? com.google.cloud.run.v2.Condition.State.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** - * - * *
    * Human readable message indicating details about the current status.
    * 
* * string message = 3; - * * @return The message. */ @java.lang.Override @@ -1583,29 +1355,29 @@ public java.lang.String getMessage() { 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(); message_ = s; return s; } } /** - * - * *
    * Human readable message indicating details about the current status.
    * 
* * string message = 3; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -1616,14 +1388,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int LAST_TRANSITION_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp lastTransitionTime_; /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return Whether the lastTransitionTime field is set. */ @java.lang.Override @@ -1631,25 +1400,18 @@ public boolean hasLastTransitionTime() { return lastTransitionTime_ != null; } /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return The lastTransitionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getLastTransitionTime() { - return lastTransitionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastTransitionTime_; + return lastTransitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTime_; } /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
@@ -1664,63 +1426,48 @@ public com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder() { public static final int SEVERITY_FIELD_NUMBER = 5; private int severity_; /** - * - * *
    * How to interpret failures of this condition, one of Error, Warning, Info
    * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
    * How to interpret failures of this condition, one of Error, Warning, Info
    * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The severity. */ - @java.lang.Override - public com.google.cloud.run.v2.Condition.Severity getSeverity() { + @java.lang.Override public com.google.cloud.run.v2.Condition.Severity getSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.Severity result = - com.google.cloud.run.v2.Condition.Severity.valueOf(severity_); + com.google.cloud.run.v2.Condition.Severity result = com.google.cloud.run.v2.Condition.Severity.valueOf(severity_); return result == null ? com.google.cloud.run.v2.Condition.Severity.UNRECOGNIZED : result; } public static final int REASON_FIELD_NUMBER = 6; /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return Whether the reason field is set. */ public boolean hasReason() { return reasonsCase_ == 6; } /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The enum numeric value on the wire for reason. */ public int getReasonValue() { @@ -1730,21 +1477,18 @@ public int getReasonValue() { return 0; } /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The reason. */ public com.google.cloud.run.v2.Condition.CommonReason getReason() { if (reasonsCase_ == 6) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.CommonReason result = - com.google.cloud.run.v2.Condition.CommonReason.valueOf((java.lang.Integer) reasons_); + com.google.cloud.run.v2.Condition.CommonReason result = com.google.cloud.run.v2.Condition.CommonReason.valueOf( + (java.lang.Integer) reasons_); return result == null ? com.google.cloud.run.v2.Condition.CommonReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.CommonReason.COMMON_REASON_UNDEFINED; @@ -1752,28 +1496,22 @@ public com.google.cloud.run.v2.Condition.CommonReason getReason() { public static final int REVISION_REASON_FIELD_NUMBER = 9; /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return Whether the revisionReason field is set. */ public boolean hasRevisionReason() { return reasonsCase_ == 9; } /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The enum numeric value on the wire for revisionReason. */ public int getRevisionReasonValue() { @@ -1783,52 +1521,41 @@ public int getRevisionReasonValue() { return 0; } /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The revisionReason. */ public com.google.cloud.run.v2.Condition.RevisionReason getRevisionReason() { if (reasonsCase_ == 9) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.RevisionReason result = - com.google.cloud.run.v2.Condition.RevisionReason.valueOf((java.lang.Integer) reasons_); - return result == null - ? com.google.cloud.run.v2.Condition.RevisionReason.UNRECOGNIZED - : result; + com.google.cloud.run.v2.Condition.RevisionReason result = com.google.cloud.run.v2.Condition.RevisionReason.valueOf( + (java.lang.Integer) reasons_); + return result == null ? com.google.cloud.run.v2.Condition.RevisionReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.RevisionReason.REVISION_REASON_UNDEFINED; } public static final int EXECUTION_REASON_FIELD_NUMBER = 11; /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return Whether the executionReason field is set. */ public boolean hasExecutionReason() { return reasonsCase_ == 11; } /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The enum numeric value on the wire for executionReason. */ public int getExecutionReasonValue() { @@ -1838,30 +1565,24 @@ public int getExecutionReasonValue() { return 0; } /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The executionReason. */ public com.google.cloud.run.v2.Condition.ExecutionReason getExecutionReason() { if (reasonsCase_ == 11) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.ExecutionReason result = - com.google.cloud.run.v2.Condition.ExecutionReason.valueOf((java.lang.Integer) reasons_); - return result == null - ? com.google.cloud.run.v2.Condition.ExecutionReason.UNRECOGNIZED - : result; + com.google.cloud.run.v2.Condition.ExecutionReason result = com.google.cloud.run.v2.Condition.ExecutionReason.valueOf( + (java.lang.Integer) reasons_); + return result == null ? com.google.cloud.run.v2.Condition.ExecutionReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.ExecutionReason.EXECUTION_REASON_UNDEFINED; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1873,7 +1594,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(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_); } @@ -1911,28 +1633,31 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_); } if (state_ != com.google.cloud.run.v2.Condition.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (lastTransitionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getLastTransitionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getLastTransitionTime()); } if (severity_ != com.google.cloud.run.v2.Condition.Severity.SEVERITY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, severity_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, severity_); } if (reasonsCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(6, ((java.lang.Integer) reasons_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, ((java.lang.Integer) reasons_)); } if (reasonsCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(9, ((java.lang.Integer) reasons_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, ((java.lang.Integer) reasons_)); } if (reasonsCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeEnumSize(11, ((java.lang.Integer) reasons_)); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, ((java.lang.Integer) reasons_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1942,31 +1667,37 @@ 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.run.v2.Condition)) { return super.equals(obj); } com.google.cloud.run.v2.Condition other = (com.google.cloud.run.v2.Condition) obj; - if (!getType().equals(other.getType())) return false; + if (!getType() + .equals(other.getType())) return false; if (state_ != other.state_) return false; - if (!getMessage().equals(other.getMessage())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; if (hasLastTransitionTime() != other.hasLastTransitionTime()) return false; if (hasLastTransitionTime()) { - if (!getLastTransitionTime().equals(other.getLastTransitionTime())) return false; + if (!getLastTransitionTime() + .equals(other.getLastTransitionTime())) return false; } if (severity_ != other.severity_) return false; if (!getReasonsCase().equals(other.getReasonsCase())) return false; switch (reasonsCase_) { case 6: - if (getReasonValue() != other.getReasonValue()) return false; + if (getReasonValue() + != other.getReasonValue()) return false; break; case 9: - if (getRevisionReasonValue() != other.getRevisionReasonValue()) return false; + if (getRevisionReasonValue() + != other.getRevisionReasonValue()) return false; break; case 11: - if (getExecutionReasonValue() != other.getExecutionReasonValue()) return false; + if (getExecutionReasonValue() + != other.getExecutionReasonValue()) return false; break; case 0: default: @@ -2015,135 +1746,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Condition parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Condition parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Condition 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.run.v2.Condition parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Condition parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Condition 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.run.v2.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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.run.v2.Condition 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; } /** - * - * *
    * Defines a status condition for a resource.
    * 
* * Protobuf type {@code google.cloud.run.v2.Condition} */ - 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.run.v2.Condition) com.google.cloud.run.v2.ConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ConditionProto - .internal_static_google_cloud_run_v2_Condition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ConditionProto.internal_static_google_cloud_run_v2_Condition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ConditionProto - .internal_static_google_cloud_run_v2_Condition_fieldAccessorTable + return com.google.cloud.run.v2.ConditionProto.internal_static_google_cloud_run_v2_Condition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.Condition.class, - com.google.cloud.run.v2.Condition.Builder.class); + com.google.cloud.run.v2.Condition.class, com.google.cloud.run.v2.Condition.Builder.class); } // Construct using com.google.cloud.run.v2.Condition.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2167,9 +1893,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ConditionProto - .internal_static_google_cloud_run_v2_Condition_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ConditionProto.internal_static_google_cloud_run_v2_Condition_descriptor; } @java.lang.Override @@ -2216,39 +1942,38 @@ public com.google.cloud.run.v2.Condition 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.run.v2.Condition) { - return mergeFrom((com.google.cloud.run.v2.Condition) other); + return mergeFrom((com.google.cloud.run.v2.Condition)other); } else { super.mergeFrom(other); return this; @@ -2275,25 +2000,21 @@ public Builder mergeFrom(com.google.cloud.run.v2.Condition other) { setSeverityValue(other.getSeverityValue()); } switch (other.getReasonsCase()) { - case REASON: - { - setReasonValue(other.getReasonValue()); - break; - } - case REVISION_REASON: - { - setRevisionReasonValue(other.getRevisionReasonValue()); - break; - } - case EXECUTION_REASON: - { - setExecutionReasonValue(other.getExecutionReasonValue()); - break; - } - case REASONS_NOT_SET: - { - break; - } + case REASON: { + setReasonValue(other.getReasonValue()); + break; + } + case REVISION_REASON: { + setRevisionReasonValue(other.getRevisionReasonValue()); + break; + } + case EXECUTION_REASON: { + setExecutionReasonValue(other.getExecutionReasonValue()); + break; + } + case REASONS_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2321,65 +2042,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - type_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - state_ = input.readEnum(); - - break; - } // case 16 - case 26: - { - message_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: - { - input.readMessage( - getLastTransitionTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 40: - { - severity_ = input.readEnum(); - - break; - } // case 40 - case 48: - { - int rawValue = input.readEnum(); - reasonsCase_ = 6; - reasons_ = rawValue; - break; - } // case 48 - case 72: - { - int rawValue = input.readEnum(); - reasonsCase_ = 9; - reasons_ = rawValue; - break; - } // case 72 - case 88: - { - int rawValue = input.readEnum(); - reasonsCase_ = 11; - reasons_ = rawValue; - break; - } // case 88 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + type_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + state_ = input.readEnum(); + + break; + } // case 16 + case 26: { + message_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: { + input.readMessage( + getLastTransitionTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 40: { + severity_ = input.readEnum(); + + break; + } // case 40 + case 48: { + int rawValue = input.readEnum(); + reasonsCase_ = 6; + reasons_ = rawValue; + break; + } // case 48 + case 72: { + int rawValue = input.readEnum(); + reasonsCase_ = 9; + reasons_ = rawValue; + break; + } // case 72 + case 88: { + int rawValue = input.readEnum(); + reasonsCase_ = 11; + reasons_ = rawValue; + break; + } // case 88 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2389,12 +2102,12 @@ public Builder mergeFrom( } // finally return this; } - private int reasonsCase_ = 0; private java.lang.Object reasons_; - - public ReasonsCase getReasonsCase() { - return ReasonsCase.forNumber(reasonsCase_); + public ReasonsCase + getReasonsCase() { + return ReasonsCase.forNumber( + reasonsCase_); } public Builder clearReasons() { @@ -2404,10 +2117,9 @@ public Builder clearReasons() { return this; } + private java.lang.Object type_ = ""; /** - * - * *
      * type is used to communicate the status of the reconciliation process.
      * See also:
@@ -2417,13 +2129,13 @@ public Builder clearReasons() {
      * 
* * string type = 1; - * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; @@ -2432,8 +2144,6 @@ public java.lang.String getType() { } } /** - * - * *
      * type is used to communicate the status of the reconciliation process.
      * See also:
@@ -2443,14 +2153,15 @@ public java.lang.String getType() {
      * 
* * string type = 1; - * * @return The bytes for type. */ - public com.google.protobuf.ByteString getTypeBytes() { + public com.google.protobuf.ByteString + getTypeBytes() { java.lang.Object ref = type_; 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); type_ = b; return b; } else { @@ -2458,8 +2169,6 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
      * type is used to communicate the status of the reconciliation process.
      * See also:
@@ -2469,22 +2178,20 @@ public com.google.protobuf.ByteString getTypeBytes() {
      * 
* * string type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(java.lang.String value) { + public Builder setType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** - * - * *
      * type is used to communicate the status of the reconciliation process.
      * See also:
@@ -2494,18 +2201,15 @@ public Builder setType(java.lang.String value) {
      * 
* * string type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** - * - * *
      * type is used to communicate the status of the reconciliation process.
      * See also:
@@ -2515,16 +2219,16 @@ public Builder clearType() {
      * 
* * string type = 1; - * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes(com.google.protobuf.ByteString value) { + public Builder setTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -2532,65 +2236,51 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * State of the condition.
      * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * State of the condition.
      * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @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; } /** - * - * *
      * State of the condition.
      * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The state. */ @java.lang.Override public com.google.cloud.run.v2.Condition.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.State result = - com.google.cloud.run.v2.Condition.State.valueOf(state_); + com.google.cloud.run.v2.Condition.State result = com.google.cloud.run.v2.Condition.State.valueOf(state_); return result == null ? com.google.cloud.run.v2.Condition.State.UNRECOGNIZED : result; } /** - * - * *
      * State of the condition.
      * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @param value The state to set. * @return This builder for chaining. */ @@ -2598,24 +2288,21 @@ public Builder setState(com.google.cloud.run.v2.Condition.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * State of the condition.
      * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2623,20 +2310,18 @@ public Builder clearState() { private java.lang.Object message_ = ""; /** - * - * *
      * Human readable message indicating details about the current status.
      * 
* * string message = 3; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; @@ -2645,21 +2330,20 @@ public java.lang.String getMessage() { } } /** - * - * *
      * Human readable message indicating details about the current status.
      * 
* * string message = 3; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { @@ -2667,61 +2351,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
      * Human readable message indicating details about the current status.
      * 
* * string message = 3; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
      * Human readable message indicating details about the current status.
      * 
* * string message = 3; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
      * Human readable message indicating details about the current status.
      * 
* * string message = 3; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -2729,47 +2406,34 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp lastTransitionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - lastTransitionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastTransitionTimeBuilder_; /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return Whether the lastTransitionTime field is set. */ public boolean hasLastTransitionTime() { return lastTransitionTimeBuilder_ != null || lastTransitionTime_ != null; } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return The lastTransitionTime. */ public com.google.protobuf.Timestamp getLastTransitionTime() { if (lastTransitionTimeBuilder_ == null) { - return lastTransitionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastTransitionTime_; + return lastTransitionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTime_; } else { return lastTransitionTimeBuilder_.getMessage(); } } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2790,15 +2454,14 @@ public Builder setLastTransitionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
* * .google.protobuf.Timestamp last_transition_time = 4; */ - public Builder setLastTransitionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setLastTransitionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (lastTransitionTimeBuilder_ == null) { lastTransitionTime_ = builderForValue.build(); onChanged(); @@ -2809,8 +2472,6 @@ public Builder setLastTransitionTime(com.google.protobuf.Timestamp.Builder build return this; } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2821,9 +2482,7 @@ public Builder mergeLastTransitionTime(com.google.protobuf.Timestamp value) { if (lastTransitionTimeBuilder_ == null) { if (lastTransitionTime_ != null) { lastTransitionTime_ = - com.google.protobuf.Timestamp.newBuilder(lastTransitionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(lastTransitionTime_).mergeFrom(value).buildPartial(); } else { lastTransitionTime_ = value; } @@ -2835,8 +2494,6 @@ public Builder mergeLastTransitionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2855,8 +2512,6 @@ public Builder clearLastTransitionTime() { return this; } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2864,13 +2519,11 @@ public Builder clearLastTransitionTime() { * .google.protobuf.Timestamp last_transition_time = 4; */ public com.google.protobuf.Timestamp.Builder getLastTransitionTimeBuilder() { - + onChanged(); return getLastTransitionTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2881,14 +2534,11 @@ public com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder() { if (lastTransitionTimeBuilder_ != null) { return lastTransitionTimeBuilder_.getMessageOrBuilder(); } else { - return lastTransitionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : lastTransitionTime_; + return lastTransitionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : lastTransitionTime_; } } /** - * - * *
      * Last time the condition transitioned from one status to another.
      * 
@@ -2896,17 +2546,14 @@ public com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder() { * .google.protobuf.Timestamp last_transition_time = 4; */ 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> getLastTransitionTimeFieldBuilder() { if (lastTransitionTimeBuilder_ == null) { - lastTransitionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getLastTransitionTime(), getParentForChildren(), isClean()); + lastTransitionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getLastTransitionTime(), + getParentForChildren(), + isClean()); lastTransitionTime_ = null; } return lastTransitionTimeBuilder_; @@ -2914,65 +2561,51 @@ public com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder() { private int severity_ = 0; /** - * - * *
      * How to interpret failures of this condition, one of Error, Warning, Info
      * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The enum numeric value on the wire for severity. */ - @java.lang.Override - public int getSeverityValue() { + @java.lang.Override public int getSeverityValue() { return severity_; } /** - * - * *
      * How to interpret failures of this condition, one of Error, Warning, Info
      * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @param value The enum numeric value on the wire for severity to set. * @return This builder for chaining. */ public Builder setSeverityValue(int value) { - + severity_ = value; onChanged(); return this; } /** - * - * *
      * How to interpret failures of this condition, one of Error, Warning, Info
      * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The severity. */ @java.lang.Override public com.google.cloud.run.v2.Condition.Severity getSeverity() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.Severity result = - com.google.cloud.run.v2.Condition.Severity.valueOf(severity_); + com.google.cloud.run.v2.Condition.Severity result = com.google.cloud.run.v2.Condition.Severity.valueOf(severity_); return result == null ? com.google.cloud.run.v2.Condition.Severity.UNRECOGNIZED : result; } /** - * - * *
      * How to interpret failures of this condition, one of Error, Warning, Info
      * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @param value The severity to set. * @return This builder for chaining. */ @@ -2980,38 +2613,32 @@ public Builder setSeverity(com.google.cloud.run.v2.Condition.Severity value) { if (value == null) { throw new NullPointerException(); } - + severity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * How to interpret failures of this condition, one of Error, Warning, Info
      * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return This builder for chaining. */ public Builder clearSeverity() { - + severity_ = 0; onChanged(); return this; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return Whether the reason field is set. */ @java.lang.Override @@ -3019,14 +2646,11 @@ public boolean hasReason() { return reasonsCase_ == 6; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The enum numeric value on the wire for reason. */ @java.lang.Override @@ -3037,14 +2661,11 @@ public int getReasonValue() { return 0; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ @@ -3055,37 +2676,29 @@ public Builder setReasonValue(int value) { return this; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The reason. */ @java.lang.Override public com.google.cloud.run.v2.Condition.CommonReason getReason() { if (reasonsCase_ == 6) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.CommonReason result = - com.google.cloud.run.v2.Condition.CommonReason.valueOf((java.lang.Integer) reasons_); - return result == null - ? com.google.cloud.run.v2.Condition.CommonReason.UNRECOGNIZED - : result; + com.google.cloud.run.v2.Condition.CommonReason result = com.google.cloud.run.v2.Condition.CommonReason.valueOf( + (java.lang.Integer) reasons_); + return result == null ? com.google.cloud.run.v2.Condition.CommonReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.CommonReason.COMMON_REASON_UNDEFINED; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @param value The reason to set. * @return This builder for chaining. */ @@ -3099,14 +2712,11 @@ public Builder setReason(com.google.cloud.run.v2.Condition.CommonReason value) { return this; } /** - * - * *
      * A common (service-level) reason for this condition.
      * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return This builder for chaining. */ public Builder clearReason() { @@ -3119,14 +2729,11 @@ public Builder clearReason() { } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return Whether the revisionReason field is set. */ @java.lang.Override @@ -3134,14 +2741,11 @@ public boolean hasRevisionReason() { return reasonsCase_ == 9; } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The enum numeric value on the wire for revisionReason. */ @java.lang.Override @@ -3152,14 +2756,11 @@ public int getRevisionReasonValue() { return 0; } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @param value The enum numeric value on the wire for revisionReason to set. * @return This builder for chaining. */ @@ -3170,37 +2771,29 @@ public Builder setRevisionReasonValue(int value) { return this; } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The revisionReason. */ @java.lang.Override public com.google.cloud.run.v2.Condition.RevisionReason getRevisionReason() { if (reasonsCase_ == 9) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.RevisionReason result = - com.google.cloud.run.v2.Condition.RevisionReason.valueOf((java.lang.Integer) reasons_); - return result == null - ? com.google.cloud.run.v2.Condition.RevisionReason.UNRECOGNIZED - : result; + com.google.cloud.run.v2.Condition.RevisionReason result = com.google.cloud.run.v2.Condition.RevisionReason.valueOf( + (java.lang.Integer) reasons_); + return result == null ? com.google.cloud.run.v2.Condition.RevisionReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.RevisionReason.REVISION_REASON_UNDEFINED; } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @param value The revisionReason to set. * @return This builder for chaining. */ @@ -3214,14 +2807,11 @@ public Builder setRevisionReason(com.google.cloud.run.v2.Condition.RevisionReaso return this; } /** - * - * *
      * A reason for the revision condition.
      * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return This builder for chaining. */ public Builder clearRevisionReason() { @@ -3234,14 +2824,11 @@ public Builder clearRevisionReason() { } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return Whether the executionReason field is set. */ @java.lang.Override @@ -3249,14 +2836,11 @@ public boolean hasExecutionReason() { return reasonsCase_ == 11; } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The enum numeric value on the wire for executionReason. */ @java.lang.Override @@ -3267,14 +2851,11 @@ public int getExecutionReasonValue() { return 0; } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @param value The enum numeric value on the wire for executionReason to set. * @return This builder for chaining. */ @@ -3285,37 +2866,29 @@ public Builder setExecutionReasonValue(int value) { return this; } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The executionReason. */ @java.lang.Override public com.google.cloud.run.v2.Condition.ExecutionReason getExecutionReason() { if (reasonsCase_ == 11) { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.Condition.ExecutionReason result = - com.google.cloud.run.v2.Condition.ExecutionReason.valueOf((java.lang.Integer) reasons_); - return result == null - ? com.google.cloud.run.v2.Condition.ExecutionReason.UNRECOGNIZED - : result; + com.google.cloud.run.v2.Condition.ExecutionReason result = com.google.cloud.run.v2.Condition.ExecutionReason.valueOf( + (java.lang.Integer) reasons_); + return result == null ? com.google.cloud.run.v2.Condition.ExecutionReason.UNRECOGNIZED : result; } return com.google.cloud.run.v2.Condition.ExecutionReason.EXECUTION_REASON_UNDEFINED; } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @param value The executionReason to set. * @return This builder for chaining. */ @@ -3329,14 +2902,11 @@ public Builder setExecutionReason(com.google.cloud.run.v2.Condition.ExecutionRea return this; } /** - * - * *
      * A reason for the execution condition.
      * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return This builder for chaining. */ public Builder clearExecutionReason() { @@ -3347,9 +2917,9 @@ public Builder clearExecutionReason() { } 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); } @@ -3359,12 +2929,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Condition) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Condition) private static final com.google.cloud.run.v2.Condition DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Condition(); } @@ -3373,27 +2943,27 @@ public static com.google.cloud.run.v2.Condition getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Condition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Condition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3408,4 +2978,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Condition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java similarity index 84% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java index 94495056b83a..759ebdc178a9 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionOrBuilder.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/run/v2/condition.proto package com.google.cloud.run.v2; -public interface ConditionOrBuilder - extends +public interface ConditionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Condition) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * type is used to communicate the status of the reconciliation process.
    * See also:
@@ -35,13 +17,10 @@ public interface ConditionOrBuilder
    * 
* * string type = 1; - * * @return The type. */ java.lang.String getType(); /** - * - * *
    * type is used to communicate the status of the reconciliation process.
    * See also:
@@ -51,88 +30,69 @@ public interface ConditionOrBuilder
    * 
* * string type = 1; - * * @return The bytes for type. */ - com.google.protobuf.ByteString getTypeBytes(); + com.google.protobuf.ByteString + getTypeBytes(); /** - * - * *
    * State of the condition.
    * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * State of the condition.
    * 
* * .google.cloud.run.v2.Condition.State state = 2; - * * @return The state. */ com.google.cloud.run.v2.Condition.State getState(); /** - * - * *
    * Human readable message indicating details about the current status.
    * 
* * string message = 3; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
    * Human readable message indicating details about the current status.
    * 
* * string message = 3; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return Whether the lastTransitionTime field is set. */ boolean hasLastTransitionTime(); /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
* * .google.protobuf.Timestamp last_transition_time = 4; - * * @return The lastTransitionTime. */ com.google.protobuf.Timestamp getLastTransitionTime(); /** - * - * *
    * Last time the condition transitioned from one status to another.
    * 
@@ -142,137 +102,104 @@ public interface ConditionOrBuilder com.google.protobuf.TimestampOrBuilder getLastTransitionTimeOrBuilder(); /** - * - * *
    * How to interpret failures of this condition, one of Error, Warning, Info
    * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** - * - * *
    * How to interpret failures of this condition, one of Error, Warning, Info
    * 
* * .google.cloud.run.v2.Condition.Severity severity = 5; - * * @return The severity. */ com.google.cloud.run.v2.Condition.Severity getSeverity(); /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return Whether the reason field is set. */ boolean hasReason(); /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** - * - * *
    * A common (service-level) reason for this condition.
    * 
* * .google.cloud.run.v2.Condition.CommonReason reason = 6; - * * @return The reason. */ com.google.cloud.run.v2.Condition.CommonReason getReason(); /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return Whether the revisionReason field is set. */ boolean hasRevisionReason(); /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The enum numeric value on the wire for revisionReason. */ int getRevisionReasonValue(); /** - * - * *
    * A reason for the revision condition.
    * 
* * .google.cloud.run.v2.Condition.RevisionReason revision_reason = 9; - * * @return The revisionReason. */ com.google.cloud.run.v2.Condition.RevisionReason getRevisionReason(); /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return Whether the executionReason field is set. */ boolean hasExecutionReason(); /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The enum numeric value on the wire for executionReason. */ int getExecutionReasonValue(); /** - * - * *
    * A reason for the execution condition.
    * 
* * .google.cloud.run.v2.Condition.ExecutionReason execution_reason = 11; - * * @return The executionReason. */ com.google.cloud.run.v2.Condition.ExecutionReason getExecutionReason(); diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java new file mode 100644 index 000000000000..6be466ee100a --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ConditionProto.java @@ -0,0 +1,90 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/condition.proto + +package com.google.cloud.run.v2; + +public final class ConditionProto { + private ConditionProto() {} + 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_run_v2_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Condition_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/run/v2/condition.proto\022\023g" + + "oogle.cloud.run.v2\032\037google/protobuf/time" + + "stamp.proto\"\344\013\n\tCondition\022\014\n\004type\030\001 \001(\t\022" + + "3\n\005state\030\002 \001(\0162$.google.cloud.run.v2.Con" + + "dition.State\022\017\n\007message\030\003 \001(\t\0228\n\024last_tr" + + "ansition_time\030\004 \001(\0132\032.google.protobuf.Ti" + + "mestamp\0229\n\010severity\030\005 \001(\0162\'.google.cloud" + + ".run.v2.Condition.Severity\022=\n\006reason\030\006 \001" + + "(\0162+.google.cloud.run.v2.Condition.Commo" + + "nReasonH\000\022H\n\017revision_reason\030\t \001(\0162-.goo" + + "gle.cloud.run.v2.Condition.RevisionReaso" + + "nH\000\022J\n\020execution_reason\030\013 \001(\0162..google.c" + + "loud.run.v2.Condition.ExecutionReasonH\000\"" + + "\177\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\025\n\021CONDI" + + "TION_PENDING\020\001\022\031\n\025CONDITION_RECONCILING\020" + + "\002\022\024\n\020CONDITION_FAILED\020\003\022\027\n\023CONDITION_SUC" + + "CEEDED\020\004\"F\n\010Severity\022\030\n\024SEVERITY_UNSPECI" + + "FIED\020\000\022\t\n\005ERROR\020\001\022\013\n\007WARNING\020\002\022\010\n\004INFO\020\003" + + "\"\262\003\n\014CommonReason\022\033\n\027COMMON_REASON_UNDEF" + + "INED\020\000\022\013\n\007UNKNOWN\020\001\022\023\n\017REVISION_FAILED\020\003" + + "\022\036\n\032PROGRESS_DEADLINE_EXCEEDED\020\004\022\025\n\021CONT" + + "AINER_MISSING\020\006\022\037\n\033CONTAINER_PERMISSION_" + + "DENIED\020\007\022 \n\034CONTAINER_IMAGE_UNAUTHORIZED" + + "\020\010\022.\n*CONTAINER_IMAGE_AUTHORIZATION_CHEC" + + "K_FAILED\020\t\022$\n ENCRYPTION_KEY_PERMISSION_" + + "DENIED\020\n\022\037\n\033ENCRYPTION_KEY_CHECK_FAILED\020" + + "\013\022\037\n\033SECRETS_ACCESS_CHECK_FAILED\020\014\022\031\n\025WA" + + "ITING_FOR_OPERATION\020\r\022\023\n\017IMMEDIATE_RETRY" + + "\020\016\022\023\n\017POSTPONED_RETRY\020\017\022\014\n\010INTERNAL\020\020\"\257\002" + + "\n\016RevisionReason\022\035\n\031REVISION_REASON_UNDE" + + "FINED\020\000\022\013\n\007PENDING\020\001\022\013\n\007RESERVE\020\002\022\013\n\007RET" + + "IRED\020\003\022\014\n\010RETIRING\020\004\022\016\n\nRECREATING\020\005\022 \n\034" + + "HEALTH_CHECK_CONTAINER_ERROR\020\006\022$\n CUSTOM" + + "IZED_PATH_RESPONSE_PENDING\020\007\022!\n\035MIN_INST" + + "ANCES_NOT_PROVISIONED\020\010\022!\n\035ACTIVE_REVISI" + + "ON_LIMIT_REACHED\020\t\022\021\n\rNO_DEPLOYMENT\020\n\022\030\n" + + "\024HEALTH_CHECK_SKIPPED\020\013\"~\n\017ExecutionReas" + + "on\022\036\n\032EXECUTION_REASON_UNDEFINED\020\000\022$\n JO" + + "B_STATUS_SERVICE_POLLING_ERROR\020\001\022\026\n\022NON_" + + "ZERO_EXIT_CODE\020\002\022\r\n\tCANCELLED\020\003B\t\n\007reaso" + + "nsBc\n\027com.google.cloud.run.v2B\016Condition" + + "ProtoP\001Z6google.golang.org/genproto/goog" + + "leapis/cloud/run/v2;runb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_Condition_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Condition_descriptor, + new java.lang.String[] { "Type", "State", "Message", "LastTransitionTime", "Severity", "Reason", "RevisionReason", "ExecutionReason", "Reasons", }); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java similarity index 81% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java index 6391762216bb..8f5c3db8d849 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Container.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * A single application container.
  * This specifies both the container to run, the command to run in the container
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.Container}
  */
-public final class Container extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Container extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Container)
     ContainerOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Container.newBuilder() to construct.
   private Container(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Container() {
     name_ = "";
     image_ = "";
@@ -54,41 +36,37 @@ private Container() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Container();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_Container_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Container_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_Container_fieldAccessorTable
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Container_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.Container.class,
-            com.google.cloud.run.v2.Container.Builder.class);
+            com.google.cloud.run.v2.Container.class, com.google.cloud.run.v2.Container.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Name of the container specified as a DNS_LABEL.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -97,29 +75,29 @@ 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; } } /** - * - * *
    * Name of the container specified as a DNS_LABEL.
    * 
* * 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 { @@ -130,15 +108,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IMAGE_FIELD_NUMBER = 2; private volatile java.lang.Object image_; /** - * - * *
    * Required. URL of the Container image in Google Container Registry or Google Artifact
    * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The image. */ @java.lang.Override @@ -147,30 +122,30 @@ public java.lang.String getImage() { 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(); image_ = s; return s; } } /** - * - * *
    * Required. URL of the Container image in Google Container Registry or Google Artifact
    * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for image. */ @java.lang.Override - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; 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); image_ = b; return b; } else { @@ -181,8 +156,6 @@ public com.google.protobuf.ByteString getImageBytes() { public static final int COMMAND_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList command_; /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -196,15 +169,13 @@ public com.google.protobuf.ByteString getImageBytes() {
    * 
* * repeated string command = 3; - * * @return A list containing the command. */ - public com.google.protobuf.ProtocolStringList getCommandList() { + public com.google.protobuf.ProtocolStringList + getCommandList() { return command_; } /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -218,15 +189,12 @@ public com.google.protobuf.ProtocolStringList getCommandList() {
    * 
* * repeated string command = 3; - * * @return The count of command. */ public int getCommandCount() { return command_.size(); } /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -240,7 +208,6 @@ public int getCommandCount() {
    * 
* * repeated string command = 3; - * * @param index The index of the element to return. * @return The command at the given index. */ @@ -248,8 +215,6 @@ public java.lang.String getCommand(int index) { return command_.get(index); } /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -263,19 +228,17 @@ public java.lang.String getCommand(int index) {
    * 
* * repeated string command = 3; - * * @param index The index of the value to return. * @return The bytes of the command at the given index. */ - public com.google.protobuf.ByteString getCommandBytes(int index) { + public com.google.protobuf.ByteString + getCommandBytes(int index) { return command_.getByteString(index); } public static final int ARGS_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList args_; /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -289,15 +252,13 @@ public com.google.protobuf.ByteString getCommandBytes(int index) {
    * 
* * repeated string args = 4; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_; } /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -311,15 +272,12 @@ public com.google.protobuf.ProtocolStringList getArgsList() {
    * 
* * repeated string args = 4; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -333,7 +291,6 @@ public int getArgsCount() {
    * 
* * repeated string args = 4; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -341,8 +298,6 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -356,19 +311,17 @@ public java.lang.String getArgs(int index) {
    * 
* * repeated string args = 4; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } public static final int ENV_FIELD_NUMBER = 5; private java.util.List env_; /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -380,8 +333,6 @@ public java.util.List getEnvList() { return env_; } /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -389,12 +340,11 @@ public java.util.List getEnvList() { * repeated .google.cloud.run.v2.EnvVar env = 5; */ @java.lang.Override - public java.util.List getEnvOrBuilderList() { + public java.util.List + getEnvOrBuilderList() { return env_; } /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -406,8 +356,6 @@ public int getEnvCount() { return env_.size(); } /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -419,8 +367,6 @@ public com.google.cloud.run.v2.EnvVar getEnv(int index) { return env_.get(index); } /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -428,15 +374,14 @@ public com.google.cloud.run.v2.EnvVar getEnv(int index) { * repeated .google.cloud.run.v2.EnvVar env = 5; */ @java.lang.Override - public com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder(int index) { + public com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder( + int index) { return env_.get(index); } public static final int RESOURCES_FIELD_NUMBER = 6; private com.google.cloud.run.v2.ResourceRequirements resources_; /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -444,7 +389,6 @@ public com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder(int index) {
    * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return Whether the resources field is set. */ @java.lang.Override @@ -452,8 +396,6 @@ public boolean hasResources() { return resources_ != null; } /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -461,18 +403,13 @@ public boolean hasResources() {
    * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return The resources. */ @java.lang.Override public com.google.cloud.run.v2.ResourceRequirements getResources() { - return resources_ == null - ? com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance() - : resources_; + return resources_ == null ? com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance() : resources_; } /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -489,8 +426,6 @@ public com.google.cloud.run.v2.ResourceRequirementsOrBuilder getResourcesOrBuild
   public static final int PORTS_FIELD_NUMBER = 7;
   private java.util.List ports_;
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -506,8 +441,6 @@ public java.util.List getPortsList() {
     return ports_;
   }
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -519,13 +452,11 @@ public java.util.List getPortsList() {
    * repeated .google.cloud.run.v2.ContainerPort ports = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPortsOrBuilderList() {
     return ports_;
   }
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -541,8 +472,6 @@ public int getPortsCount() {
     return ports_.size();
   }
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -558,8 +487,6 @@ public com.google.cloud.run.v2.ContainerPort getPorts(int index) {
     return ports_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -571,15 +498,14 @@ public com.google.cloud.run.v2.ContainerPort getPorts(int index) {
    * repeated .google.cloud.run.v2.ContainerPort ports = 7;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int index) {
+  public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(
+      int index) {
     return ports_.get(index);
   }
 
   public static final int VOLUME_MOUNTS_FIELD_NUMBER = 8;
   private java.util.List volumeMounts_;
   /**
-   *
-   *
    * 
    * Volume to mount into the container's filesystem.
    * 
@@ -591,8 +517,6 @@ public java.util.List getVolumeMountsList() return volumeMounts_; } /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -600,13 +524,11 @@ public java.util.List getVolumeMountsList() * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ @java.lang.Override - public java.util.List + public java.util.List getVolumeMountsOrBuilderList() { return volumeMounts_; } /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -618,8 +540,6 @@ public int getVolumeMountsCount() { return volumeMounts_.size(); } /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -631,8 +551,6 @@ public com.google.cloud.run.v2.VolumeMount getVolumeMounts(int index) { return volumeMounts_.get(index); } /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -640,15 +558,14 @@ public com.google.cloud.run.v2.VolumeMount getVolumeMounts(int index) { * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ @java.lang.Override - public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder( + int index) { return volumeMounts_.get(index); } public static final int WORKING_DIR_FIELD_NUMBER = 9; private volatile java.lang.Object workingDir_; /** - * - * *
    * Container's working directory.
    * If not specified, the container runtime's default will be used, which
@@ -656,7 +573,6 @@ public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int
    * 
* * string working_dir = 9; - * * @return The workingDir. */ @java.lang.Override @@ -665,15 +581,14 @@ public java.lang.String getWorkingDir() { 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(); workingDir_ = s; return s; } } /** - * - * *
    * Container's working directory.
    * If not specified, the container runtime's default will be used, which
@@ -681,15 +596,16 @@ public java.lang.String getWorkingDir() {
    * 
* * string working_dir = 9; - * * @return The bytes for workingDir. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkingDirBytes() { + public com.google.protobuf.ByteString + getWorkingDirBytes() { java.lang.Object ref = workingDir_; 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); workingDir_ = b; return b; } else { @@ -700,8 +616,6 @@ public com.google.protobuf.ByteString getWorkingDirBytes() { public static final int LIVENESS_PROBE_FIELD_NUMBER = 10; private com.google.cloud.run.v2.Probe livenessProbe_; /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -710,7 +624,6 @@ public com.google.protobuf.ByteString getWorkingDirBytes() {
    * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return Whether the livenessProbe field is set. */ @java.lang.Override @@ -718,8 +631,6 @@ public boolean hasLivenessProbe() { return livenessProbe_ != null; } /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -728,18 +639,13 @@ public boolean hasLivenessProbe() {
    * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return The livenessProbe. */ @java.lang.Override public com.google.cloud.run.v2.Probe getLivenessProbe() { - return livenessProbe_ == null - ? com.google.cloud.run.v2.Probe.getDefaultInstance() - : livenessProbe_; + return livenessProbe_ == null ? com.google.cloud.run.v2.Probe.getDefaultInstance() : livenessProbe_; } /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -757,8 +663,6 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
   public static final int STARTUP_PROBE_FIELD_NUMBER = 11;
   private com.google.cloud.run.v2.Probe startupProbe_;
   /**
-   *
-   *
    * 
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
@@ -769,7 +673,6 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
    * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return Whether the startupProbe field is set. */ @java.lang.Override @@ -777,8 +680,6 @@ public boolean hasStartupProbe() { return startupProbe_ != null; } /** - * - * *
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
@@ -789,18 +690,13 @@ public boolean hasStartupProbe() {
    * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return The startupProbe. */ @java.lang.Override public com.google.cloud.run.v2.Probe getStartupProbe() { - return startupProbe_ == null - ? com.google.cloud.run.v2.Probe.getDefaultInstance() - : startupProbe_; + return startupProbe_ == null ? com.google.cloud.run.v2.Probe.getDefaultInstance() : startupProbe_; } /** - * - * *
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
@@ -818,7 +714,6 @@ public com.google.cloud.run.v2.ProbeOrBuilder getStartupProbeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -830,7 +725,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_);
     }
@@ -896,25 +792,31 @@ public int getSerializedSize() {
       size += 1 * getArgsList().size();
     }
     for (int i = 0; i < env_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, env_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, env_.get(i));
     }
     if (resources_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getResources());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getResources());
     }
     for (int i = 0; i < ports_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, ports_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, ports_.get(i));
     }
     for (int i = 0; i < volumeMounts_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, volumeMounts_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, volumeMounts_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workingDir_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, workingDir_);
     }
     if (livenessProbe_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getLivenessProbe());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, getLivenessProbe());
     }
     if (startupProbe_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getStartupProbe());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, getStartupProbe());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -924,32 +826,43 @@ 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.run.v2.Container)) {
       return super.equals(obj);
     }
     com.google.cloud.run.v2.Container other = (com.google.cloud.run.v2.Container) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getImage().equals(other.getImage())) return false;
-    if (!getCommandList().equals(other.getCommandList())) return false;
-    if (!getArgsList().equals(other.getArgsList())) return false;
-    if (!getEnvList().equals(other.getEnvList())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getImage()
+        .equals(other.getImage())) return false;
+    if (!getCommandList()
+        .equals(other.getCommandList())) return false;
+    if (!getArgsList()
+        .equals(other.getArgsList())) return false;
+    if (!getEnvList()
+        .equals(other.getEnvList())) return false;
     if (hasResources() != other.hasResources()) return false;
     if (hasResources()) {
-      if (!getResources().equals(other.getResources())) return false;
-    }
-    if (!getPortsList().equals(other.getPortsList())) return false;
-    if (!getVolumeMountsList().equals(other.getVolumeMountsList())) return false;
-    if (!getWorkingDir().equals(other.getWorkingDir())) return false;
+      if (!getResources()
+          .equals(other.getResources())) return false;
+    }
+    if (!getPortsList()
+        .equals(other.getPortsList())) return false;
+    if (!getVolumeMountsList()
+        .equals(other.getVolumeMountsList())) return false;
+    if (!getWorkingDir()
+        .equals(other.getWorkingDir())) return false;
     if (hasLivenessProbe() != other.hasLivenessProbe()) return false;
     if (hasLivenessProbe()) {
-      if (!getLivenessProbe().equals(other.getLivenessProbe())) return false;
+      if (!getLivenessProbe()
+          .equals(other.getLivenessProbe())) return false;
     }
     if (hasStartupProbe() != other.hasStartupProbe()) return false;
     if (hasStartupProbe()) {
-      if (!getStartupProbe().equals(other.getStartupProbe())) return false;
+      if (!getStartupProbe()
+          .equals(other.getStartupProbe())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1005,103 +918,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.run.v2.Container parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.run.v2.Container parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Container 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.run.v2.Container parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.run.v2.Container parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Container 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.run.v2.Container parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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.run.v2.Container 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;
   }
   /**
-   *
-   *
    * 
    * A single application container.
    * This specifies both the container to run, the command to run in the container
@@ -1112,32 +1019,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.Container}
    */
-  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.run.v2.Container)
       com.google.cloud.run.v2.ContainerOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Container_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Container_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Container_fieldAccessorTable
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Container_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.Container.class,
-              com.google.cloud.run.v2.Container.Builder.class);
+              com.google.cloud.run.v2.Container.class, com.google.cloud.run.v2.Container.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Container.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1194,9 +1102,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Container_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Container_descriptor;
     }
 
     @java.lang.Override
@@ -1280,39 +1188,38 @@ public com.google.cloud.run.v2.Container 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.run.v2.Container) {
-        return mergeFrom((com.google.cloud.run.v2.Container) other);
+        return mergeFrom((com.google.cloud.run.v2.Container)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1367,10 +1274,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Container other) {
             envBuilder_ = null;
             env_ = other.env_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            envBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getEnvFieldBuilder()
-                    : null;
+            envBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getEnvFieldBuilder() : null;
           } else {
             envBuilder_.addAllMessages(other.env_);
           }
@@ -1397,10 +1303,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Container other) {
             portsBuilder_ = null;
             ports_ = other.ports_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            portsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPortsFieldBuilder()
-                    : null;
+            portsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPortsFieldBuilder() : null;
           } else {
             portsBuilder_.addAllMessages(other.ports_);
           }
@@ -1424,10 +1329,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Container other) {
             volumeMountsBuilder_ = null;
             volumeMounts_ = other.volumeMounts_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            volumeMountsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVolumeMountsFieldBuilder()
-                    : null;
+            volumeMountsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVolumeMountsFieldBuilder() : null;
           } else {
             volumeMountsBuilder_.addAllMessages(other.volumeMounts_);
           }
@@ -1469,101 +1373,99 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                image_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              image_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureCommandIsMutable();
-                command_.add(s);
-                break;
-              } // case 26
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureArgsIsMutable();
-                args_.add(s);
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.cloud.run.v2.EnvVar m =
-                    input.readMessage(com.google.cloud.run.v2.EnvVar.parser(), extensionRegistry);
-                if (envBuilder_ == null) {
-                  ensureEnvIsMutable();
-                  env_.add(m);
-                } else {
-                  envBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getResourcesFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureCommandIsMutable();
+              command_.add(s);
+              break;
+            } // case 26
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureArgsIsMutable();
+              args_.add(s);
+              break;
+            } // case 34
+            case 42: {
+              com.google.cloud.run.v2.EnvVar m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.EnvVar.parser(),
+                      extensionRegistry);
+              if (envBuilder_ == null) {
+                ensureEnvIsMutable();
+                env_.add(m);
+              } else {
+                envBuilder_.addMessage(m);
+              }
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getResourcesFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            case 58:
-              {
-                com.google.cloud.run.v2.ContainerPort m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.ContainerPort.parser(), extensionRegistry);
-                if (portsBuilder_ == null) {
-                  ensurePortsIsMutable();
-                  ports_.add(m);
-                } else {
-                  portsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 58
-            case 66:
-              {
-                com.google.cloud.run.v2.VolumeMount m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.VolumeMount.parser(), extensionRegistry);
-                if (volumeMountsBuilder_ == null) {
-                  ensureVolumeMountsIsMutable();
-                  volumeMounts_.add(m);
-                } else {
-                  volumeMountsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 66
-            case 74:
-              {
-                workingDir_ = input.readStringRequireUtf8();
+              break;
+            } // case 50
+            case 58: {
+              com.google.cloud.run.v2.ContainerPort m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.ContainerPort.parser(),
+                      extensionRegistry);
+              if (portsBuilder_ == null) {
+                ensurePortsIsMutable();
+                ports_.add(m);
+              } else {
+                portsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 58
+            case 66: {
+              com.google.cloud.run.v2.VolumeMount m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.VolumeMount.parser(),
+                      extensionRegistry);
+              if (volumeMountsBuilder_ == null) {
+                ensureVolumeMountsIsMutable();
+                volumeMounts_.add(m);
+              } else {
+                volumeMountsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 66
+            case 74: {
+              workingDir_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getLivenessProbeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getLivenessProbeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 82
-            case 90:
-              {
-                input.readMessage(getStartupProbeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 82
+            case 90: {
+              input.readMessage(
+                  getStartupProbeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 90
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 90
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1573,25 +1475,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the container specified as a DNS_LABEL.
      * 
* * 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; @@ -1600,21 +1499,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the container specified as a DNS_LABEL.
      * 
* * 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 { @@ -1622,61 +1520,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the container specified as a DNS_LABEL.
      * 
* * 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; } /** - * - * *
      * Name of the container specified as a DNS_LABEL.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the container specified as a DNS_LABEL.
      * 
* * 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; @@ -1684,21 +1575,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object image_ = ""; /** - * - * *
      * Required. URL of the Container image in Google Container Registry or Google Artifact
      * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
      * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The image. */ public java.lang.String getImage() { java.lang.Object ref = image_; 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(); image_ = s; return s; @@ -1707,22 +1596,21 @@ public java.lang.String getImage() { } } /** - * - * *
      * Required. URL of the Container image in Google Container Registry or Google Artifact
      * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
      * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for image. */ - public com.google.protobuf.ByteString getImageBytes() { + public com.google.protobuf.ByteString + getImageBytes() { java.lang.Object ref = image_; 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); image_ = b; return b; } else { @@ -1730,81 +1618,70 @@ public com.google.protobuf.ByteString getImageBytes() { } } /** - * - * *
      * Required. URL of the Container image in Google Container Registry or Google Artifact
      * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
      * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The image to set. * @return This builder for chaining. */ - public Builder setImage(java.lang.String value) { + public Builder setImage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + image_ = value; onChanged(); return this; } /** - * - * *
      * Required. URL of the Container image in Google Container Registry or Google Artifact
      * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
      * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearImage() { - + image_ = getDefaultInstance().getImage(); onChanged(); return this; } /** - * - * *
      * Required. URL of the Container image in Google Container Registry or Google Artifact
      * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
      * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for image to set. * @return This builder for chaining. */ - public Builder setImageBytes(com.google.protobuf.ByteString value) { + public Builder setImageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + image_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList command_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList command_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCommandIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { command_ = new com.google.protobuf.LazyStringArrayList(command_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1818,15 +1695,13 @@ private void ensureCommandIsMutable() {
      * 
* * repeated string command = 3; - * * @return A list containing the command. */ - public com.google.protobuf.ProtocolStringList getCommandList() { + public com.google.protobuf.ProtocolStringList + getCommandList() { return command_.getUnmodifiableView(); } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1840,15 +1715,12 @@ public com.google.protobuf.ProtocolStringList getCommandList() {
      * 
* * repeated string command = 3; - * * @return The count of command. */ public int getCommandCount() { return command_.size(); } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1862,7 +1734,6 @@ public int getCommandCount() {
      * 
* * repeated string command = 3; - * * @param index The index of the element to return. * @return The command at the given index. */ @@ -1870,8 +1741,6 @@ public java.lang.String getCommand(int index) { return command_.get(index); } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1885,16 +1754,14 @@ public java.lang.String getCommand(int index) {
      * 
* * repeated string command = 3; - * * @param index The index of the value to return. * @return The bytes of the command at the given index. */ - public com.google.protobuf.ByteString getCommandBytes(int index) { + public com.google.protobuf.ByteString + getCommandBytes(int index) { return command_.getByteString(index); } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1908,23 +1775,21 @@ public com.google.protobuf.ByteString getCommandBytes(int index) {
      * 
* * repeated string command = 3; - * * @param index The index to set the value at. * @param value The command to set. * @return This builder for chaining. */ - public Builder setCommand(int index, java.lang.String value) { + public Builder setCommand( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); + throw new NullPointerException(); + } + ensureCommandIsMutable(); command_.set(index, value); onChanged(); return this; } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1938,22 +1803,20 @@ public Builder setCommand(int index, java.lang.String value) {
      * 
* * repeated string command = 3; - * * @param value The command to add. * @return This builder for chaining. */ - public Builder addCommand(java.lang.String value) { + public Builder addCommand( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCommandIsMutable(); + throw new NullPointerException(); + } + ensureCommandIsMutable(); command_.add(value); onChanged(); return this; } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1967,19 +1830,18 @@ public Builder addCommand(java.lang.String value) {
      * 
* * repeated string command = 3; - * * @param values The command to add. * @return This builder for chaining. */ - public Builder addAllCommand(java.lang.Iterable values) { + public Builder addAllCommand( + java.lang.Iterable values) { ensureCommandIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, command_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, command_); onChanged(); return this; } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -1993,7 +1855,6 @@ public Builder addAllCommand(java.lang.Iterable values) {
      * 
* * repeated string command = 3; - * * @return This builder for chaining. */ public Builder clearCommand() { @@ -2003,8 +1864,6 @@ public Builder clearCommand() { return this; } /** - * - * *
      * Entrypoint array. Not executed within a shell.
      * The docker image's ENTRYPOINT is used if this is not provided.
@@ -2018,33 +1877,29 @@ public Builder clearCommand() {
      * 
* * repeated string command = 3; - * * @param value The bytes of the command to add. * @return This builder for chaining. */ - public Builder addCommandBytes(com.google.protobuf.ByteString value) { + public Builder addCommandBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCommandIsMutable(); command_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList args_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { args_ = new com.google.protobuf.LazyStringArrayList(args_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2058,15 +1913,13 @@ private void ensureArgsIsMutable() {
      * 
* * repeated string args = 4; - * * @return A list containing the args. */ - public com.google.protobuf.ProtocolStringList getArgsList() { + public com.google.protobuf.ProtocolStringList + getArgsList() { return args_.getUnmodifiableView(); } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2080,15 +1933,12 @@ public com.google.protobuf.ProtocolStringList getArgsList() {
      * 
* * repeated string args = 4; - * * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2102,7 +1952,6 @@ public int getArgsCount() {
      * 
* * repeated string args = 4; - * * @param index The index of the element to return. * @return The args at the given index. */ @@ -2110,8 +1959,6 @@ public java.lang.String getArgs(int index) { return args_.get(index); } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2125,16 +1972,14 @@ public java.lang.String getArgs(int index) {
      * 
* * repeated string args = 4; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - public com.google.protobuf.ByteString getArgsBytes(int index) { + public com.google.protobuf.ByteString + getArgsBytes(int index) { return args_.getByteString(index); } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2148,23 +1993,21 @@ public com.google.protobuf.ByteString getArgsBytes(int index) {
      * 
* * repeated string args = 4; - * * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ - public Builder setArgs(int index, java.lang.String value) { + public Builder setArgs( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2178,22 +2021,20 @@ public Builder setArgs(int index, java.lang.String value) {
      * 
* * repeated string args = 4; - * * @param value The args to add. * @return This builder for chaining. */ - public Builder addArgs(java.lang.String value) { + public Builder addArgs( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureArgsIsMutable(); + throw new NullPointerException(); + } + ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2207,19 +2048,18 @@ public Builder addArgs(java.lang.String value) {
      * 
* * repeated string args = 4; - * * @param values The args to add. * @return This builder for chaining. */ - public Builder addAllArgs(java.lang.Iterable values) { + public Builder addAllArgs( + java.lang.Iterable values) { ensureArgsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, args_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, args_); onChanged(); return this; } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2233,7 +2073,6 @@ public Builder addAllArgs(java.lang.Iterable values) {
      * 
* * repeated string args = 4; - * * @return This builder for chaining. */ public Builder clearArgs() { @@ -2243,8 +2082,6 @@ public Builder clearArgs() { return this; } /** - * - * *
      * Arguments to the entrypoint.
      * The docker image's CMD is used if this is not provided.
@@ -2258,39 +2095,34 @@ public Builder clearArgs() {
      * 
* * repeated string args = 4; - * * @param value The bytes of the args to add. * @return This builder for chaining. */ - public Builder addArgsBytes(com.google.protobuf.ByteString value) { + public Builder addArgsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } - private java.util.List env_ = java.util.Collections.emptyList(); - + private java.util.List env_ = + java.util.Collections.emptyList(); private void ensureEnvIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { env_ = new java.util.ArrayList(env_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.EnvVar, - com.google.cloud.run.v2.EnvVar.Builder, - com.google.cloud.run.v2.EnvVarOrBuilder> - envBuilder_; + com.google.cloud.run.v2.EnvVar, com.google.cloud.run.v2.EnvVar.Builder, com.google.cloud.run.v2.EnvVarOrBuilder> envBuilder_; /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2305,8 +2137,6 @@ public java.util.List getEnvList() { } } /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2321,8 +2151,6 @@ public int getEnvCount() { } } /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2337,15 +2165,14 @@ public com.google.cloud.run.v2.EnvVar getEnv(int index) { } } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder setEnv(int index, com.google.cloud.run.v2.EnvVar value) { + public Builder setEnv( + int index, com.google.cloud.run.v2.EnvVar value) { if (envBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2359,15 +2186,14 @@ public Builder setEnv(int index, com.google.cloud.run.v2.EnvVar value) { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder setEnv(int index, com.google.cloud.run.v2.EnvVar.Builder builderForValue) { + public Builder setEnv( + int index, com.google.cloud.run.v2.EnvVar.Builder builderForValue) { if (envBuilder_ == null) { ensureEnvIsMutable(); env_.set(index, builderForValue.build()); @@ -2378,8 +2204,6 @@ public Builder setEnv(int index, com.google.cloud.run.v2.EnvVar.Builder builderF return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2400,15 +2224,14 @@ public Builder addEnv(com.google.cloud.run.v2.EnvVar value) { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder addEnv(int index, com.google.cloud.run.v2.EnvVar value) { + public Builder addEnv( + int index, com.google.cloud.run.v2.EnvVar value) { if (envBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2422,15 +2245,14 @@ public Builder addEnv(int index, com.google.cloud.run.v2.EnvVar value) { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder addEnv(com.google.cloud.run.v2.EnvVar.Builder builderForValue) { + public Builder addEnv( + com.google.cloud.run.v2.EnvVar.Builder builderForValue) { if (envBuilder_ == null) { ensureEnvIsMutable(); env_.add(builderForValue.build()); @@ -2441,15 +2263,14 @@ public Builder addEnv(com.google.cloud.run.v2.EnvVar.Builder builderForValue) { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder addEnv(int index, com.google.cloud.run.v2.EnvVar.Builder builderForValue) { + public Builder addEnv( + int index, com.google.cloud.run.v2.EnvVar.Builder builderForValue) { if (envBuilder_ == null) { ensureEnvIsMutable(); env_.add(index, builderForValue.build()); @@ -2460,18 +2281,18 @@ public Builder addEnv(int index, com.google.cloud.run.v2.EnvVar.Builder builderF return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public Builder addAllEnv(java.lang.Iterable values) { + public Builder addAllEnv( + java.lang.Iterable values) { if (envBuilder_ == null) { ensureEnvIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, env_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, env_); onChanged(); } else { envBuilder_.addAllMessages(values); @@ -2479,8 +2300,6 @@ public Builder addAllEnv(java.lang.Iterable * List of environment variables to set in the container. *
@@ -2498,8 +2317,6 @@ public Builder clearEnv() { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2517,43 +2334,39 @@ public Builder removeEnv(int index) { return this; } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public com.google.cloud.run.v2.EnvVar.Builder getEnvBuilder(int index) { + public com.google.cloud.run.v2.EnvVar.Builder getEnvBuilder( + int index) { return getEnvFieldBuilder().getBuilder(index); } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder(int index) { + public com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder( + int index) { if (envBuilder_ == null) { - return env_.get(index); - } else { + return env_.get(index); } else { return envBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public java.util.List getEnvOrBuilderList() { + public java.util.List + getEnvOrBuilderList() { if (envBuilder_ != null) { return envBuilder_.getMessageOrBuilderList(); } else { @@ -2561,8 +2374,6 @@ public java.util.List getEnvO } } /** - * - * *
      * List of environment variables to set in the container.
      * 
@@ -2570,46 +2381,42 @@ public java.util.List getEnvO * repeated .google.cloud.run.v2.EnvVar env = 5; */ public com.google.cloud.run.v2.EnvVar.Builder addEnvBuilder() { - return getEnvFieldBuilder().addBuilder(com.google.cloud.run.v2.EnvVar.getDefaultInstance()); + return getEnvFieldBuilder().addBuilder( + com.google.cloud.run.v2.EnvVar.getDefaultInstance()); } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public com.google.cloud.run.v2.EnvVar.Builder addEnvBuilder(int index) { - return getEnvFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.EnvVar.getDefaultInstance()); + public com.google.cloud.run.v2.EnvVar.Builder addEnvBuilder( + int index) { + return getEnvFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.EnvVar.getDefaultInstance()); } /** - * - * *
      * List of environment variables to set in the container.
      * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - public java.util.List getEnvBuilderList() { + public java.util.List + getEnvBuilderList() { return getEnvFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.EnvVar, - com.google.cloud.run.v2.EnvVar.Builder, - com.google.cloud.run.v2.EnvVarOrBuilder> + com.google.cloud.run.v2.EnvVar, com.google.cloud.run.v2.EnvVar.Builder, com.google.cloud.run.v2.EnvVarOrBuilder> getEnvFieldBuilder() { if (envBuilder_ == null) { - envBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.EnvVar, - com.google.cloud.run.v2.EnvVar.Builder, - com.google.cloud.run.v2.EnvVarOrBuilder>( - env_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + envBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.EnvVar, com.google.cloud.run.v2.EnvVar.Builder, com.google.cloud.run.v2.EnvVarOrBuilder>( + env_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); env_ = null; } return envBuilder_; @@ -2617,13 +2424,8 @@ public java.util.List getEnvBuilderList( private com.google.cloud.run.v2.ResourceRequirements resources_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ResourceRequirements, - com.google.cloud.run.v2.ResourceRequirements.Builder, - com.google.cloud.run.v2.ResourceRequirementsOrBuilder> - resourcesBuilder_; + com.google.cloud.run.v2.ResourceRequirements, com.google.cloud.run.v2.ResourceRequirements.Builder, com.google.cloud.run.v2.ResourceRequirementsOrBuilder> resourcesBuilder_; /** - * - * *
      * Compute Resource requirements by this container.
      * More info:
@@ -2631,15 +2433,12 @@ public java.util.List getEnvBuilderList(
      * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return Whether the resources field is set. */ public boolean hasResources() { return resourcesBuilder_ != null || resources_ != null; } /** - * - * *
      * Compute Resource requirements by this container.
      * More info:
@@ -2647,21 +2446,16 @@ public boolean hasResources() {
      * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return The resources. */ public com.google.cloud.run.v2.ResourceRequirements getResources() { if (resourcesBuilder_ == null) { - return resources_ == null - ? com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance() - : resources_; + return resources_ == null ? com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance() : resources_; } else { return resourcesBuilder_.getMessage(); } } /** - * - * *
      * Compute Resource requirements by this container.
      * More info:
@@ -2684,8 +2478,6 @@ public Builder setResources(com.google.cloud.run.v2.ResourceRequirements value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2706,8 +2498,6 @@ public Builder setResources(
       return this;
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2720,9 +2510,7 @@ public Builder mergeResources(com.google.cloud.run.v2.ResourceRequirements value
       if (resourcesBuilder_ == null) {
         if (resources_ != null) {
           resources_ =
-              com.google.cloud.run.v2.ResourceRequirements.newBuilder(resources_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.ResourceRequirements.newBuilder(resources_).mergeFrom(value).buildPartial();
         } else {
           resources_ = value;
         }
@@ -2734,8 +2522,6 @@ public Builder mergeResources(com.google.cloud.run.v2.ResourceRequirements value
       return this;
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2756,8 +2542,6 @@ public Builder clearResources() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2767,13 +2551,11 @@ public Builder clearResources() {
      * .google.cloud.run.v2.ResourceRequirements resources = 6;
      */
     public com.google.cloud.run.v2.ResourceRequirements.Builder getResourcesBuilder() {
-
+      
       onChanged();
       return getResourcesFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2786,14 +2568,11 @@ public com.google.cloud.run.v2.ResourceRequirementsOrBuilder getResourcesOrBuild
       if (resourcesBuilder_ != null) {
         return resourcesBuilder_.getMessageOrBuilder();
       } else {
-        return resources_ == null
-            ? com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance()
-            : resources_;
+        return resources_ == null ?
+            com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance() : resources_;
       }
     }
     /**
-     *
-     *
      * 
      * Compute Resource requirements by this container.
      * More info:
@@ -2803,41 +2582,32 @@ public com.google.cloud.run.v2.ResourceRequirementsOrBuilder getResourcesOrBuild
      * .google.cloud.run.v2.ResourceRequirements resources = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.ResourceRequirements,
-            com.google.cloud.run.v2.ResourceRequirements.Builder,
-            com.google.cloud.run.v2.ResourceRequirementsOrBuilder>
+        com.google.cloud.run.v2.ResourceRequirements, com.google.cloud.run.v2.ResourceRequirements.Builder, com.google.cloud.run.v2.ResourceRequirementsOrBuilder> 
         getResourcesFieldBuilder() {
       if (resourcesBuilder_ == null) {
-        resourcesBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.ResourceRequirements,
-                com.google.cloud.run.v2.ResourceRequirements.Builder,
-                com.google.cloud.run.v2.ResourceRequirementsOrBuilder>(
-                getResources(), getParentForChildren(), isClean());
+        resourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.ResourceRequirements, com.google.cloud.run.v2.ResourceRequirements.Builder, com.google.cloud.run.v2.ResourceRequirementsOrBuilder>(
+                getResources(),
+                getParentForChildren(),
+                isClean());
         resources_ = null;
       }
       return resourcesBuilder_;
     }
 
     private java.util.List ports_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePortsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         ports_ = new java.util.ArrayList(ports_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.ContainerPort,
-            com.google.cloud.run.v2.ContainerPort.Builder,
-            com.google.cloud.run.v2.ContainerPortOrBuilder>
-        portsBuilder_;
+        com.google.cloud.run.v2.ContainerPort, com.google.cloud.run.v2.ContainerPort.Builder, com.google.cloud.run.v2.ContainerPortOrBuilder> portsBuilder_;
 
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2856,8 +2626,6 @@ public java.util.List getPortsList() {
       }
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2876,8 +2644,6 @@ public int getPortsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2896,8 +2662,6 @@ public com.google.cloud.run.v2.ContainerPort getPorts(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2908,7 +2672,8 @@ public com.google.cloud.run.v2.ContainerPort getPorts(int index) {
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public Builder setPorts(int index, com.google.cloud.run.v2.ContainerPort value) {
+    public Builder setPorts(
+        int index, com.google.cloud.run.v2.ContainerPort value) {
       if (portsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2922,8 +2687,6 @@ public Builder setPorts(int index, com.google.cloud.run.v2.ContainerPort value)
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2946,8 +2709,6 @@ public Builder setPorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2972,8 +2733,6 @@ public Builder addPorts(com.google.cloud.run.v2.ContainerPort value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -2984,7 +2743,8 @@ public Builder addPorts(com.google.cloud.run.v2.ContainerPort value) {
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public Builder addPorts(int index, com.google.cloud.run.v2.ContainerPort value) {
+    public Builder addPorts(
+        int index, com.google.cloud.run.v2.ContainerPort value) {
       if (portsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2998,8 +2758,6 @@ public Builder addPorts(int index, com.google.cloud.run.v2.ContainerPort value)
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3010,7 +2768,8 @@ public Builder addPorts(int index, com.google.cloud.run.v2.ContainerPort value)
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public Builder addPorts(com.google.cloud.run.v2.ContainerPort.Builder builderForValue) {
+    public Builder addPorts(
+        com.google.cloud.run.v2.ContainerPort.Builder builderForValue) {
       if (portsBuilder_ == null) {
         ensurePortsIsMutable();
         ports_.add(builderForValue.build());
@@ -3021,8 +2780,6 @@ public Builder addPorts(com.google.cloud.run.v2.ContainerPort.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3045,8 +2802,6 @@ public Builder addPorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3061,7 +2816,8 @@ public Builder addAllPorts(
         java.lang.Iterable values) {
       if (portsBuilder_ == null) {
         ensurePortsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ports_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, ports_);
         onChanged();
       } else {
         portsBuilder_.addAllMessages(values);
@@ -3069,8 +2825,6 @@ public Builder addAllPorts(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3092,8 +2846,6 @@ public Builder clearPorts() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3115,8 +2867,6 @@ public Builder removePorts(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3127,12 +2877,11 @@ public Builder removePorts(int index) {
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public com.google.cloud.run.v2.ContainerPort.Builder getPortsBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerPort.Builder getPortsBuilder(
+        int index) {
       return getPortsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3143,16 +2892,14 @@ public com.google.cloud.run.v2.ContainerPort.Builder getPortsBuilder(int index)
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(
+        int index) {
       if (portsBuilder_ == null) {
-        return ports_.get(index);
-      } else {
+        return ports_.get(index);  } else {
         return portsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3163,8 +2910,8 @@ public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int inde
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public java.util.List
-        getPortsOrBuilderList() {
+    public java.util.List 
+         getPortsOrBuilderList() {
       if (portsBuilder_ != null) {
         return portsBuilder_.getMessageOrBuilderList();
       } else {
@@ -3172,8 +2919,6 @@ public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3185,12 +2930,10 @@ public com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int inde
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
     public com.google.cloud.run.v2.ContainerPort.Builder addPortsBuilder() {
-      return getPortsFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.ContainerPort.getDefaultInstance());
+      return getPortsFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.ContainerPort.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3201,13 +2944,12 @@ public com.google.cloud.run.v2.ContainerPort.Builder addPortsBuilder() {
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public com.google.cloud.run.v2.ContainerPort.Builder addPortsBuilder(int index) {
-      return getPortsFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.ContainerPort.getDefaultInstance());
+    public com.google.cloud.run.v2.ContainerPort.Builder addPortsBuilder(
+        int index) {
+      return getPortsFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.ContainerPort.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of ports to expose from the container. Only a single port can be
      * specified. The specified ports must be listening on all interfaces
@@ -3218,46 +2960,38 @@ public com.google.cloud.run.v2.ContainerPort.Builder addPortsBuilder(int index)
      *
      * repeated .google.cloud.run.v2.ContainerPort ports = 7;
      */
-    public java.util.List getPortsBuilderList() {
+    public java.util.List 
+         getPortsBuilderList() {
       return getPortsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.ContainerPort,
-            com.google.cloud.run.v2.ContainerPort.Builder,
-            com.google.cloud.run.v2.ContainerPortOrBuilder>
+        com.google.cloud.run.v2.ContainerPort, com.google.cloud.run.v2.ContainerPort.Builder, com.google.cloud.run.v2.ContainerPortOrBuilder> 
         getPortsFieldBuilder() {
       if (portsBuilder_ == null) {
-        portsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.ContainerPort,
-                com.google.cloud.run.v2.ContainerPort.Builder,
-                com.google.cloud.run.v2.ContainerPortOrBuilder>(
-                ports_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+        portsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.ContainerPort, com.google.cloud.run.v2.ContainerPort.Builder, com.google.cloud.run.v2.ContainerPortOrBuilder>(
+                ports_,
+                ((bitField0_ & 0x00000008) != 0),
+                getParentForChildren(),
+                isClean());
         ports_ = null;
       }
       return portsBuilder_;
     }
 
     private java.util.List volumeMounts_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVolumeMountsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         volumeMounts_ = new java.util.ArrayList(volumeMounts_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.VolumeMount,
-            com.google.cloud.run.v2.VolumeMount.Builder,
-            com.google.cloud.run.v2.VolumeMountOrBuilder>
-        volumeMountsBuilder_;
+        com.google.cloud.run.v2.VolumeMount, com.google.cloud.run.v2.VolumeMount.Builder, com.google.cloud.run.v2.VolumeMountOrBuilder> volumeMountsBuilder_;
 
     /**
-     *
-     *
      * 
      * Volume to mount into the container's filesystem.
      * 
@@ -3272,8 +3006,6 @@ public java.util.List getVolumeMountsList() } } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3288,8 +3020,6 @@ public int getVolumeMountsCount() { } } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3304,15 +3034,14 @@ public com.google.cloud.run.v2.VolumeMount getVolumeMounts(int index) { } } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public Builder setVolumeMounts(int index, com.google.cloud.run.v2.VolumeMount value) { + public Builder setVolumeMounts( + int index, com.google.cloud.run.v2.VolumeMount value) { if (volumeMountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3326,8 +3055,6 @@ public Builder setVolumeMounts(int index, com.google.cloud.run.v2.VolumeMount va return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3346,8 +3073,6 @@ public Builder setVolumeMounts( return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3368,15 +3093,14 @@ public Builder addVolumeMounts(com.google.cloud.run.v2.VolumeMount value) { return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public Builder addVolumeMounts(int index, com.google.cloud.run.v2.VolumeMount value) { + public Builder addVolumeMounts( + int index, com.google.cloud.run.v2.VolumeMount value) { if (volumeMountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3390,15 +3114,14 @@ public Builder addVolumeMounts(int index, com.google.cloud.run.v2.VolumeMount va return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public Builder addVolumeMounts(com.google.cloud.run.v2.VolumeMount.Builder builderForValue) { + public Builder addVolumeMounts( + com.google.cloud.run.v2.VolumeMount.Builder builderForValue) { if (volumeMountsBuilder_ == null) { ensureVolumeMountsIsMutable(); volumeMounts_.add(builderForValue.build()); @@ -3409,8 +3132,6 @@ public Builder addVolumeMounts(com.google.cloud.run.v2.VolumeMount.Builder build return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3429,8 +3150,6 @@ public Builder addVolumeMounts( return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3441,7 +3160,8 @@ public Builder addAllVolumeMounts( java.lang.Iterable values) { if (volumeMountsBuilder_ == null) { ensureVolumeMountsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, volumeMounts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, volumeMounts_); onChanged(); } else { volumeMountsBuilder_.addAllMessages(values); @@ -3449,8 +3169,6 @@ public Builder addAllVolumeMounts( return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3468,8 +3186,6 @@ public Builder clearVolumeMounts() { return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3487,44 +3203,39 @@ public Builder removeVolumeMounts(int index) { return this; } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public com.google.cloud.run.v2.VolumeMount.Builder getVolumeMountsBuilder(int index) { + public com.google.cloud.run.v2.VolumeMount.Builder getVolumeMountsBuilder( + int index) { return getVolumeMountsFieldBuilder().getBuilder(index); } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder( + int index) { if (volumeMountsBuilder_ == null) { - return volumeMounts_.get(index); - } else { + return volumeMounts_.get(index); } else { return volumeMountsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public java.util.List - getVolumeMountsOrBuilderList() { + public java.util.List + getVolumeMountsOrBuilderList() { if (volumeMountsBuilder_ != null) { return volumeMountsBuilder_.getMessageOrBuilderList(); } else { @@ -3532,8 +3243,6 @@ public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int } } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
@@ -3541,48 +3250,42 @@ public com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ public com.google.cloud.run.v2.VolumeMount.Builder addVolumeMountsBuilder() { - return getVolumeMountsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.VolumeMount.getDefaultInstance()); + return getVolumeMountsFieldBuilder().addBuilder( + com.google.cloud.run.v2.VolumeMount.getDefaultInstance()); } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public com.google.cloud.run.v2.VolumeMount.Builder addVolumeMountsBuilder(int index) { - return getVolumeMountsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.VolumeMount.getDefaultInstance()); + public com.google.cloud.run.v2.VolumeMount.Builder addVolumeMountsBuilder( + int index) { + return getVolumeMountsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.VolumeMount.getDefaultInstance()); } /** - * - * *
      * Volume to mount into the container's filesystem.
      * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - public java.util.List - getVolumeMountsBuilderList() { + public java.util.List + getVolumeMountsBuilderList() { return getVolumeMountsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.VolumeMount, - com.google.cloud.run.v2.VolumeMount.Builder, - com.google.cloud.run.v2.VolumeMountOrBuilder> + com.google.cloud.run.v2.VolumeMount, com.google.cloud.run.v2.VolumeMount.Builder, com.google.cloud.run.v2.VolumeMountOrBuilder> getVolumeMountsFieldBuilder() { if (volumeMountsBuilder_ == null) { - volumeMountsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.VolumeMount, - com.google.cloud.run.v2.VolumeMount.Builder, - com.google.cloud.run.v2.VolumeMountOrBuilder>( - volumeMounts_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + volumeMountsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.VolumeMount, com.google.cloud.run.v2.VolumeMount.Builder, com.google.cloud.run.v2.VolumeMountOrBuilder>( + volumeMounts_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); volumeMounts_ = null; } return volumeMountsBuilder_; @@ -3590,8 +3293,6 @@ public com.google.cloud.run.v2.VolumeMount.Builder addVolumeMountsBuilder(int in private java.lang.Object workingDir_ = ""; /** - * - * *
      * Container's working directory.
      * If not specified, the container runtime's default will be used, which
@@ -3599,13 +3300,13 @@ public com.google.cloud.run.v2.VolumeMount.Builder addVolumeMountsBuilder(int in
      * 
* * string working_dir = 9; - * * @return The workingDir. */ public java.lang.String getWorkingDir() { java.lang.Object ref = workingDir_; 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(); workingDir_ = s; return s; @@ -3614,8 +3315,6 @@ public java.lang.String getWorkingDir() { } } /** - * - * *
      * Container's working directory.
      * If not specified, the container runtime's default will be used, which
@@ -3623,14 +3322,15 @@ public java.lang.String getWorkingDir() {
      * 
* * string working_dir = 9; - * * @return The bytes for workingDir. */ - public com.google.protobuf.ByteString getWorkingDirBytes() { + public com.google.protobuf.ByteString + getWorkingDirBytes() { java.lang.Object ref = workingDir_; 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); workingDir_ = b; return b; } else { @@ -3638,8 +3338,6 @@ public com.google.protobuf.ByteString getWorkingDirBytes() { } } /** - * - * *
      * Container's working directory.
      * If not specified, the container runtime's default will be used, which
@@ -3647,22 +3345,20 @@ public com.google.protobuf.ByteString getWorkingDirBytes() {
      * 
* * string working_dir = 9; - * * @param value The workingDir to set. * @return This builder for chaining. */ - public Builder setWorkingDir(java.lang.String value) { + public Builder setWorkingDir( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workingDir_ = value; onChanged(); return this; } /** - * - * *
      * Container's working directory.
      * If not specified, the container runtime's default will be used, which
@@ -3670,18 +3366,15 @@ public Builder setWorkingDir(java.lang.String value) {
      * 
* * string working_dir = 9; - * * @return This builder for chaining. */ public Builder clearWorkingDir() { - + workingDir_ = getDefaultInstance().getWorkingDir(); onChanged(); return this; } /** - * - * *
      * Container's working directory.
      * If not specified, the container runtime's default will be used, which
@@ -3689,16 +3382,16 @@ public Builder clearWorkingDir() {
      * 
* * string working_dir = 9; - * * @param value The bytes for workingDir to set. * @return This builder for chaining. */ - public Builder setWorkingDirBytes(com.google.protobuf.ByteString value) { + public Builder setWorkingDirBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workingDir_ = value; onChanged(); return this; @@ -3706,13 +3399,8 @@ public Builder setWorkingDirBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.Probe livenessProbe_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Probe, - com.google.cloud.run.v2.Probe.Builder, - com.google.cloud.run.v2.ProbeOrBuilder> - livenessProbeBuilder_; + com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder> livenessProbeBuilder_; /** - * - * *
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3721,15 +3409,12 @@ public Builder setWorkingDirBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return Whether the livenessProbe field is set. */ public boolean hasLivenessProbe() { return livenessProbeBuilder_ != null || livenessProbe_ != null; } /** - * - * *
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3738,21 +3423,16 @@ public boolean hasLivenessProbe() {
      * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return The livenessProbe. */ public com.google.cloud.run.v2.Probe getLivenessProbe() { if (livenessProbeBuilder_ == null) { - return livenessProbe_ == null - ? com.google.cloud.run.v2.Probe.getDefaultInstance() - : livenessProbe_; + return livenessProbe_ == null ? com.google.cloud.run.v2.Probe.getDefaultInstance() : livenessProbe_; } else { return livenessProbeBuilder_.getMessage(); } } /** - * - * *
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3776,8 +3456,6 @@ public Builder setLivenessProbe(com.google.cloud.run.v2.Probe value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3787,7 +3465,8 @@ public Builder setLivenessProbe(com.google.cloud.run.v2.Probe value) {
      *
      * .google.cloud.run.v2.Probe liveness_probe = 10;
      */
-    public Builder setLivenessProbe(com.google.cloud.run.v2.Probe.Builder builderForValue) {
+    public Builder setLivenessProbe(
+        com.google.cloud.run.v2.Probe.Builder builderForValue) {
       if (livenessProbeBuilder_ == null) {
         livenessProbe_ = builderForValue.build();
         onChanged();
@@ -3798,8 +3477,6 @@ public Builder setLivenessProbe(com.google.cloud.run.v2.Probe.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3813,9 +3490,7 @@ public Builder mergeLivenessProbe(com.google.cloud.run.v2.Probe value) {
       if (livenessProbeBuilder_ == null) {
         if (livenessProbe_ != null) {
           livenessProbe_ =
-              com.google.cloud.run.v2.Probe.newBuilder(livenessProbe_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.Probe.newBuilder(livenessProbe_).mergeFrom(value).buildPartial();
         } else {
           livenessProbe_ = value;
         }
@@ -3827,8 +3502,6 @@ public Builder mergeLivenessProbe(com.google.cloud.run.v2.Probe value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3850,8 +3523,6 @@ public Builder clearLivenessProbe() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3862,13 +3533,11 @@ public Builder clearLivenessProbe() {
      * .google.cloud.run.v2.Probe liveness_probe = 10;
      */
     public com.google.cloud.run.v2.Probe.Builder getLivenessProbeBuilder() {
-
+      
       onChanged();
       return getLivenessProbeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3882,14 +3551,11 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
       if (livenessProbeBuilder_ != null) {
         return livenessProbeBuilder_.getMessageOrBuilder();
       } else {
-        return livenessProbe_ == null
-            ? com.google.cloud.run.v2.Probe.getDefaultInstance()
-            : livenessProbe_;
+        return livenessProbe_ == null ?
+            com.google.cloud.run.v2.Probe.getDefaultInstance() : livenessProbe_;
       }
     }
     /**
-     *
-     *
      * 
      * Periodic probe of container liveness.
      * Container will be restarted if the probe fails.
@@ -3900,17 +3566,14 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
      * .google.cloud.run.v2.Probe liveness_probe = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.Probe,
-            com.google.cloud.run.v2.Probe.Builder,
-            com.google.cloud.run.v2.ProbeOrBuilder>
+        com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder> 
         getLivenessProbeFieldBuilder() {
       if (livenessProbeBuilder_ == null) {
-        livenessProbeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.Probe,
-                com.google.cloud.run.v2.Probe.Builder,
-                com.google.cloud.run.v2.ProbeOrBuilder>(
-                getLivenessProbe(), getParentForChildren(), isClean());
+        livenessProbeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder>(
+                getLivenessProbe(),
+                getParentForChildren(),
+                isClean());
         livenessProbe_ = null;
       }
       return livenessProbeBuilder_;
@@ -3918,13 +3581,8 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
 
     private com.google.cloud.run.v2.Probe startupProbe_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.Probe,
-            com.google.cloud.run.v2.Probe.Builder,
-            com.google.cloud.run.v2.ProbeOrBuilder>
-        startupProbeBuilder_;
+        com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder> startupProbeBuilder_;
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -3935,15 +3593,12 @@ public com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder() {
      * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return Whether the startupProbe field is set. */ public boolean hasStartupProbe() { return startupProbeBuilder_ != null || startupProbe_ != null; } /** - * - * *
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -3954,21 +3609,16 @@ public boolean hasStartupProbe() {
      * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return The startupProbe. */ public com.google.cloud.run.v2.Probe getStartupProbe() { if (startupProbeBuilder_ == null) { - return startupProbe_ == null - ? com.google.cloud.run.v2.Probe.getDefaultInstance() - : startupProbe_; + return startupProbe_ == null ? com.google.cloud.run.v2.Probe.getDefaultInstance() : startupProbe_; } else { return startupProbeBuilder_.getMessage(); } } /** - * - * *
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -3994,8 +3644,6 @@ public Builder setStartupProbe(com.google.cloud.run.v2.Probe value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4007,7 +3655,8 @@ public Builder setStartupProbe(com.google.cloud.run.v2.Probe value) {
      *
      * .google.cloud.run.v2.Probe startup_probe = 11;
      */
-    public Builder setStartupProbe(com.google.cloud.run.v2.Probe.Builder builderForValue) {
+    public Builder setStartupProbe(
+        com.google.cloud.run.v2.Probe.Builder builderForValue) {
       if (startupProbeBuilder_ == null) {
         startupProbe_ = builderForValue.build();
         onChanged();
@@ -4018,8 +3667,6 @@ public Builder setStartupProbe(com.google.cloud.run.v2.Probe.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4035,9 +3682,7 @@ public Builder mergeStartupProbe(com.google.cloud.run.v2.Probe value) {
       if (startupProbeBuilder_ == null) {
         if (startupProbe_ != null) {
           startupProbe_ =
-              com.google.cloud.run.v2.Probe.newBuilder(startupProbe_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.Probe.newBuilder(startupProbe_).mergeFrom(value).buildPartial();
         } else {
           startupProbe_ = value;
         }
@@ -4049,8 +3694,6 @@ public Builder mergeStartupProbe(com.google.cloud.run.v2.Probe value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4074,8 +3717,6 @@ public Builder clearStartupProbe() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4088,13 +3729,11 @@ public Builder clearStartupProbe() {
      * .google.cloud.run.v2.Probe startup_probe = 11;
      */
     public com.google.cloud.run.v2.Probe.Builder getStartupProbeBuilder() {
-
+      
       onChanged();
       return getStartupProbeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4110,14 +3749,11 @@ public com.google.cloud.run.v2.ProbeOrBuilder getStartupProbeOrBuilder() {
       if (startupProbeBuilder_ != null) {
         return startupProbeBuilder_.getMessageOrBuilder();
       } else {
-        return startupProbe_ == null
-            ? com.google.cloud.run.v2.Probe.getDefaultInstance()
-            : startupProbe_;
+        return startupProbe_ == null ?
+            com.google.cloud.run.v2.Probe.getDefaultInstance() : startupProbe_;
       }
     }
     /**
-     *
-     *
      * 
      * Startup probe of application within the container.
      * All other probes are disabled if a startup probe is provided, until it
@@ -4130,24 +3766,21 @@ public com.google.cloud.run.v2.ProbeOrBuilder getStartupProbeOrBuilder() {
      * .google.cloud.run.v2.Probe startup_probe = 11;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.Probe,
-            com.google.cloud.run.v2.Probe.Builder,
-            com.google.cloud.run.v2.ProbeOrBuilder>
+        com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder> 
         getStartupProbeFieldBuilder() {
       if (startupProbeBuilder_ == null) {
-        startupProbeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.Probe,
-                com.google.cloud.run.v2.Probe.Builder,
-                com.google.cloud.run.v2.ProbeOrBuilder>(
-                getStartupProbe(), getParentForChildren(), isClean());
+        startupProbeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.Probe, com.google.cloud.run.v2.Probe.Builder, com.google.cloud.run.v2.ProbeOrBuilder>(
+                getStartupProbe(),
+                getParentForChildren(),
+                isClean());
         startupProbe_ = null;
       }
       return startupProbeBuilder_;
     }
-
     @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);
     }
 
@@ -4157,12 +3790,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Container)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Container)
   private static final com.google.cloud.run.v2.Container DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.run.v2.Container();
   }
@@ -4171,27 +3804,27 @@ public static com.google.cloud.run.v2.Container getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Container parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Container parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4206,4 +3839,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.run.v2.Container getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java
similarity index 89%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java
index 0f3d15674301..0d91a79d8f66 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerOrBuilder.java
@@ -1,83 +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/run/v2/k8s.min.proto
 
 package com.google.cloud.run.v2;
 
-public interface ContainerOrBuilder
-    extends
+public interface ContainerOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Container)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the container specified as a DNS_LABEL.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the container specified as a DNS_LABEL.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. URL of the Container image in Google Container Registry or Google Artifact
    * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The image. */ java.lang.String getImage(); /** - * - * *
    * Required. URL of the Container image in Google Container Registry or Google Artifact
    * Registry. More info: https://kubernetes.io/docs/concepts/containers/images
    * 
* * string image = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for image. */ - com.google.protobuf.ByteString getImageBytes(); + com.google.protobuf.ByteString + getImageBytes(); /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -91,13 +63,11 @@ public interface ContainerOrBuilder
    * 
* * repeated string command = 3; - * * @return A list containing the command. */ - java.util.List getCommandList(); + java.util.List + getCommandList(); /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -111,13 +81,10 @@ public interface ContainerOrBuilder
    * 
* * repeated string command = 3; - * * @return The count of command. */ int getCommandCount(); /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -131,14 +98,11 @@ public interface ContainerOrBuilder
    * 
* * repeated string command = 3; - * * @param index The index of the element to return. * @return The command at the given index. */ java.lang.String getCommand(int index); /** - * - * *
    * Entrypoint array. Not executed within a shell.
    * The docker image's ENTRYPOINT is used if this is not provided.
@@ -152,15 +116,13 @@ public interface ContainerOrBuilder
    * 
* * repeated string command = 3; - * * @param index The index of the value to return. * @return The bytes of the command at the given index. */ - com.google.protobuf.ByteString getCommandBytes(int index); + com.google.protobuf.ByteString + getCommandBytes(int index); /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -174,13 +136,11 @@ public interface ContainerOrBuilder
    * 
* * repeated string args = 4; - * * @return A list containing the args. */ - java.util.List getArgsList(); + java.util.List + getArgsList(); /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -194,13 +154,10 @@ public interface ContainerOrBuilder
    * 
* * repeated string args = 4; - * * @return The count of args. */ int getArgsCount(); /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -214,14 +171,11 @@ public interface ContainerOrBuilder
    * 
* * repeated string args = 4; - * * @param index The index of the element to return. * @return The args at the given index. */ java.lang.String getArgs(int index); /** - * - * *
    * Arguments to the entrypoint.
    * The docker image's CMD is used if this is not provided.
@@ -235,25 +189,22 @@ public interface ContainerOrBuilder
    * 
* * repeated string args = 4; - * * @param index The index of the value to return. * @return The bytes of the args at the given index. */ - com.google.protobuf.ByteString getArgsBytes(int index); + com.google.protobuf.ByteString + getArgsBytes(int index); /** - * - * *
    * List of environment variables to set in the container.
    * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - java.util.List getEnvList(); + java.util.List + getEnvList(); /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -262,8 +213,6 @@ public interface ContainerOrBuilder */ com.google.cloud.run.v2.EnvVar getEnv(int index); /** - * - * *
    * List of environment variables to set in the container.
    * 
@@ -272,29 +221,25 @@ public interface ContainerOrBuilder */ int getEnvCount(); /** - * - * *
    * List of environment variables to set in the container.
    * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - java.util.List getEnvOrBuilderList(); + java.util.List + getEnvOrBuilderList(); /** - * - * *
    * List of environment variables to set in the container.
    * 
* * repeated .google.cloud.run.v2.EnvVar env = 5; */ - com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder(int index); + com.google.cloud.run.v2.EnvVarOrBuilder getEnvOrBuilder( + int index); /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -302,13 +247,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return Whether the resources field is set. */ boolean hasResources(); /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -316,13 +258,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.ResourceRequirements resources = 6; - * * @return The resources. */ com.google.cloud.run.v2.ResourceRequirements getResources(); /** - * - * *
    * Compute Resource requirements by this container.
    * More info:
@@ -334,8 +273,6 @@ public interface ContainerOrBuilder
   com.google.cloud.run.v2.ResourceRequirementsOrBuilder getResourcesOrBuilder();
 
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -346,10 +283,9 @@ public interface ContainerOrBuilder
    *
    * repeated .google.cloud.run.v2.ContainerPort ports = 7;
    */
-  java.util.List getPortsList();
+  java.util.List 
+      getPortsList();
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -362,8 +298,6 @@ public interface ContainerOrBuilder
    */
   com.google.cloud.run.v2.ContainerPort getPorts(int index);
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -376,8 +310,6 @@ public interface ContainerOrBuilder
    */
   int getPortsCount();
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -388,10 +320,9 @@ public interface ContainerOrBuilder
    *
    * repeated .google.cloud.run.v2.ContainerPort ports = 7;
    */
-  java.util.List getPortsOrBuilderList();
+  java.util.List 
+      getPortsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of ports to expose from the container. Only a single port can be
    * specified. The specified ports must be listening on all interfaces
@@ -402,21 +333,19 @@ public interface ContainerOrBuilder
    *
    * repeated .google.cloud.run.v2.ContainerPort ports = 7;
    */
-  com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(int index);
+  com.google.cloud.run.v2.ContainerPortOrBuilder getPortsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Volume to mount into the container's filesystem.
    * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - java.util.List getVolumeMountsList(); + java.util.List + getVolumeMountsList(); /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -425,8 +354,6 @@ public interface ContainerOrBuilder */ com.google.cloud.run.v2.VolumeMount getVolumeMounts(int index); /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
@@ -435,30 +362,25 @@ public interface ContainerOrBuilder */ int getVolumeMountsCount(); /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - java.util.List + java.util.List getVolumeMountsOrBuilderList(); /** - * - * *
    * Volume to mount into the container's filesystem.
    * 
* * repeated .google.cloud.run.v2.VolumeMount volume_mounts = 8; */ - com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder(int index); + com.google.cloud.run.v2.VolumeMountOrBuilder getVolumeMountsOrBuilder( + int index); /** - * - * *
    * Container's working directory.
    * If not specified, the container runtime's default will be used, which
@@ -466,13 +388,10 @@ public interface ContainerOrBuilder
    * 
* * string working_dir = 9; - * * @return The workingDir. */ java.lang.String getWorkingDir(); /** - * - * *
    * Container's working directory.
    * If not specified, the container runtime's default will be used, which
@@ -480,14 +399,12 @@ public interface ContainerOrBuilder
    * 
* * string working_dir = 9; - * * @return The bytes for workingDir. */ - com.google.protobuf.ByteString getWorkingDirBytes(); + com.google.protobuf.ByteString + getWorkingDirBytes(); /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -496,13 +413,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return Whether the livenessProbe field is set. */ boolean hasLivenessProbe(); /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -511,13 +425,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.Probe liveness_probe = 10; - * * @return The livenessProbe. */ com.google.cloud.run.v2.Probe getLivenessProbe(); /** - * - * *
    * Periodic probe of container liveness.
    * Container will be restarted if the probe fails.
@@ -530,8 +441,6 @@ public interface ContainerOrBuilder
   com.google.cloud.run.v2.ProbeOrBuilder getLivenessProbeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
@@ -542,13 +451,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return Whether the startupProbe field is set. */ boolean hasStartupProbe(); /** - * - * *
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
@@ -559,13 +465,10 @@ public interface ContainerOrBuilder
    * 
* * .google.cloud.run.v2.Probe startup_probe = 11; - * * @return The startupProbe. */ com.google.cloud.run.v2.Probe getStartupProbe(); /** - * - * *
    * Startup probe of application within the container.
    * All other probes are disabled if a startup probe is provided, until it
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java
similarity index 67%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java
index fc52e2f3d4cb..8aab1ae3d135 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPort.java
@@ -1,84 +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/run/v2/k8s.min.proto
 
 package com.google.cloud.run.v2;
 
 /**
- *
- *
  * 
  * ContainerPort represents a network port in a single container.
  * 
* * Protobuf type {@code google.cloud.run.v2.ContainerPort} */ -public final class ContainerPort extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ContainerPort extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ContainerPort) ContainerPortOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ContainerPort.newBuilder() to construct. private ContainerPort(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ContainerPort() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ContainerPort(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ContainerPort_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ContainerPort_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ContainerPort.class, - com.google.cloud.run.v2.ContainerPort.Builder.class); + com.google.cloud.run.v2.ContainerPort.class, com.google.cloud.run.v2.ContainerPort.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * If specified, used to specify which protocol to use.
    * Allowed values are "http1" and "h2c".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,30 +65,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; } } /** - * - * *
    * If specified, used to specify which protocol to use.
    * Allowed values are "http1" and "h2c".
    * 
* * 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 { @@ -121,15 +99,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONTAINER_PORT_FIELD_NUMBER = 3; private int containerPort_; /** - * - * *
    * Port number the container listens on.
    * This must be a valid TCP port number, 0 < container_port < 65536.
    * 
* * int32 container_port = 3; - * * @return The containerPort. */ @java.lang.Override @@ -138,7 +113,6 @@ public int getContainerPort() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +124,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_); } @@ -170,7 +145,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (containerPort_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, containerPort_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, containerPort_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,15 +156,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.run.v2.ContainerPort)) { return super.equals(obj); } com.google.cloud.run.v2.ContainerPort other = (com.google.cloud.run.v2.ContainerPort) obj; - if (!getName().equals(other.getName())) return false; - if (getContainerPort() != other.getContainerPort()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getContainerPort() + != other.getContainerPort()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -209,135 +187,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ContainerPort parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ContainerPort parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ContainerPort 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.run.v2.ContainerPort parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.ContainerPort parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ContainerPort 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.run.v2.ContainerPort parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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.run.v2.ContainerPort 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; } /** - * - * *
    * ContainerPort represents a network port in a single container.
    * 
* * Protobuf type {@code google.cloud.run.v2.ContainerPort} */ - 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.run.v2.ContainerPort) com.google.cloud.run.v2.ContainerPortOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ContainerPort_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ContainerPort_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ContainerPort.class, - com.google.cloud.run.v2.ContainerPort.Builder.class); + com.google.cloud.run.v2.ContainerPort.class, com.google.cloud.run.v2.ContainerPort.Builder.class); } // Construct using com.google.cloud.run.v2.ContainerPort.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -349,9 +322,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ContainerPort_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ContainerPort_descriptor; } @java.lang.Override @@ -370,8 +343,7 @@ public com.google.cloud.run.v2.ContainerPort build() { @java.lang.Override public com.google.cloud.run.v2.ContainerPort buildPartial() { - com.google.cloud.run.v2.ContainerPort result = - new com.google.cloud.run.v2.ContainerPort(this); + com.google.cloud.run.v2.ContainerPort result = new com.google.cloud.run.v2.ContainerPort(this); result.name_ = name_; result.containerPort_ = containerPort_; onBuilt(); @@ -382,39 +354,38 @@ public com.google.cloud.run.v2.ContainerPort 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.run.v2.ContainerPort) { - return mergeFrom((com.google.cloud.run.v2.ContainerPort) other); + return mergeFrom((com.google.cloud.run.v2.ContainerPort)other); } else { super.mergeFrom(other); return this; @@ -456,25 +427,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 24: - { - containerPort_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 24: { + containerPort_ = input.readInt32(); + + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -487,21 +455,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * If specified, used to specify which protocol to use.
      * Allowed values are "http1" and "h2c".
      * 
* * 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; @@ -510,22 +476,21 @@ public java.lang.String getName() { } } /** - * - * *
      * If specified, used to specify which protocol to use.
      * Allowed values are "http1" and "h2c".
      * 
* * 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 { @@ -533,80 +498,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * If specified, used to specify which protocol to use.
      * Allowed values are "http1" and "h2c".
      * 
* * 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; } /** - * - * *
      * If specified, used to specify which protocol to use.
      * Allowed values are "http1" and "h2c".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * If specified, used to specify which protocol to use.
      * Allowed values are "http1" and "h2c".
      * 
* * 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; } - private int containerPort_; + private int containerPort_ ; /** - * - * *
      * Port number the container listens on.
      * This must be a valid TCP port number, 0 < container_port < 65536.
      * 
* * int32 container_port = 3; - * * @return The containerPort. */ @java.lang.Override @@ -614,45 +569,39 @@ public int getContainerPort() { return containerPort_; } /** - * - * *
      * Port number the container listens on.
      * This must be a valid TCP port number, 0 < container_port < 65536.
      * 
* * int32 container_port = 3; - * * @param value The containerPort to set. * @return This builder for chaining. */ public Builder setContainerPort(int value) { - + containerPort_ = value; onChanged(); return this; } /** - * - * *
      * Port number the container listens on.
      * This must be a valid TCP port number, 0 < container_port < 65536.
      * 
* * int32 container_port = 3; - * * @return This builder for chaining. */ public Builder clearContainerPort() { - + containerPort_ = 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); } @@ -662,12 +611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ContainerPort) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ContainerPort) private static final com.google.cloud.run.v2.ContainerPort DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ContainerPort(); } @@ -676,27 +625,27 @@ public static com.google.cloud.run.v2.ContainerPort getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ContainerPort parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ContainerPort parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,4 +660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ContainerPort getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java similarity index 56% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java index 20e42eb63669..10acaadf2f91 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ContainerPortOrBuilder.java @@ -1,65 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface ContainerPortOrBuilder - extends +public interface ContainerPortOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ContainerPort) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If specified, used to specify which protocol to use.
    * Allowed values are "http1" and "h2c".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * If specified, used to specify which protocol to use.
    * Allowed values are "http1" and "h2c".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Port number the container listens on.
    * This must be a valid TCP port number, 0 < container_port < 65536.
    * 
* * int32 container_port = 3; - * * @return The containerPort. */ int getContainerPort(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java index 60fc6a38bd5b..51c1eea0c477 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequest.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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for creating a Job.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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_ = ""; jobId_ = ""; @@ -44,44 +26,39 @@ private CreateJobRequest() { @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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CreateJobRequest.class, - com.google.cloud.run.v2.CreateJobRequest.Builder.class); + com.google.cloud.run.v2.CreateJobRequest.class, com.google.cloud.run.v2.CreateJobRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 @@ -90,32 +67,31 @@ 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 and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 { @@ -126,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int JOB_FIELD_NUMBER = 2; private com.google.cloud.run.v2.Job job_; /** - * - * *
    * Required. The Job instance to create.
    * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -141,14 +114,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job instance to create.
    * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -156,8 +126,6 @@ public com.google.cloud.run.v2.Job getJob() { return job_ == null ? com.google.cloud.run.v2.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job instance to create.
    * 
@@ -172,15 +140,12 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { public static final int JOB_ID_FIELD_NUMBER = 3; private volatile java.lang.Object jobId_; /** - * - * *
    * Required. The unique identifier for the Job. The name of the job becomes
    * {parent}/jobs/{job_id}.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobId. */ @java.lang.Override @@ -189,30 +154,30 @@ public java.lang.String getJobId() { 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(); jobId_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the Job. The name of the job becomes
    * {parent}/jobs/{job_id}.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobId. */ @java.lang.Override - public com.google.protobuf.ByteString getJobIdBytes() { + public com.google.protobuf.ByteString + getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -223,15 +188,12 @@ public com.google.protobuf.ByteString getJobIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or creating any resources.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -240,7 +202,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +213,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,13 +240,15 @@ 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()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, jobId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -294,20 +258,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.run.v2.CreateJobRequest)) { return super.equals(obj); } com.google.cloud.run.v2.CreateJobRequest other = (com.google.cloud.run.v2.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 (!getJobId().equals(other.getJobId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getJobId() + .equals(other.getJobId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -328,142 +296,137 @@ public int hashCode() { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.CreateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.CreateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.CreateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.CreateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.CreateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.CreateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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 creating a Job.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.CreateJobRequest) com.google.cloud.run.v2.CreateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CreateJobRequest.class, - com.google.cloud.run.v2.CreateJobRequest.Builder.class); + com.google.cloud.run.v2.CreateJobRequest.class, com.google.cloud.run.v2.CreateJobRequest.Builder.class); } // Construct using com.google.cloud.run.v2.CreateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_CreateJobRequest_descriptor; } @java.lang.Override @@ -504,8 +467,7 @@ public com.google.cloud.run.v2.CreateJobRequest build() { @java.lang.Override public com.google.cloud.run.v2.CreateJobRequest buildPartial() { - com.google.cloud.run.v2.CreateJobRequest result = - new com.google.cloud.run.v2.CreateJobRequest(this); + com.google.cloud.run.v2.CreateJobRequest result = new com.google.cloud.run.v2.CreateJobRequest(this); result.parent_ = parent_; if (jobBuilder_ == null) { result.job_ = job_; @@ -522,39 +484,38 @@ public com.google.cloud.run.v2.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.run.v2.CreateJobRequest) { - return mergeFrom((com.google.cloud.run.v2.CreateJobRequest) other); + return mergeFrom((com.google.cloud.run.v2.CreateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -603,37 +564,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - jobId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + jobId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -646,23 +604,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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; @@ -671,24 +626,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 { @@ -696,70 +649,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project in which this Job should be created.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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; @@ -767,33 +710,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> - jobBuilder_; + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job instance to create.
      * 
* * .google.cloud.run.v2.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 instance to create.
      * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.run.v2.Job getJob() { @@ -804,8 +738,6 @@ public com.google.cloud.run.v2.Job getJob() { } } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -826,15 +758,14 @@ public Builder setJob(com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * Required. The Job instance to create.
      * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.run.v2.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -845,8 +776,6 @@ public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -856,7 +785,8 @@ public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.run.v2.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.run.v2.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.run.v2.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -868,8 +798,6 @@ public Builder mergeJob(com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -888,8 +816,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -897,13 +823,11 @@ public Builder clearJob() { * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -914,12 +838,11 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.run.v2.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.run.v2.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job instance to create.
      * 
@@ -927,16 +850,14 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder>(getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; @@ -944,21 +865,19 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { private java.lang.Object jobId_ = ""; /** - * - * *
      * Required. The unique identifier for the Job. The name of the job becomes
      * {parent}/jobs/{job_id}.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; @@ -967,22 +886,21 @@ public java.lang.String getJobId() { } } /** - * - * *
      * Required. The unique identifier for the Job. The name of the job becomes
      * {parent}/jobs/{job_id}.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobId. */ - public com.google.protobuf.ByteString getJobIdBytes() { + public com.google.protobuf.ByteString + getJobIdBytes() { java.lang.Object ref = jobId_; 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); jobId_ = b; return b; } else { @@ -990,80 +908,70 @@ public com.google.protobuf.ByteString getJobIdBytes() { } } /** - * - * *
      * Required. The unique identifier for the Job. The name of the job becomes
      * {parent}/jobs/{job_id}.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The jobId to set. * @return This builder for chaining. */ - public Builder setJobId(java.lang.String value) { + public Builder setJobId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + jobId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the Job. The name of the job becomes
      * {parent}/jobs/{job_id}.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearJobId() { - + jobId_ = getDefaultInstance().getJobId(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the Job. The name of the job becomes
      * {parent}/jobs/{job_id}.
      * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for jobId to set. * @return This builder for chaining. */ - public Builder setJobIdBytes(com.google.protobuf.ByteString value) { + public Builder setJobIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + jobId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1071,45 +979,39 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; 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); } @@ -1119,12 +1021,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.CreateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.CreateJobRequest) private static final com.google.cloud.run.v2.CreateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.CreateJobRequest(); } @@ -1133,27 +1035,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1168,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.CreateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java similarity index 63% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java index 5632468e5076..e0927027b533 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateJobRequestOrBuilder.java @@ -1,86 +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/run/v2/job.proto package com.google.cloud.run.v2; -public interface CreateJobRequestOrBuilder - extends +public interface CreateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.CreateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 and project in which this Job should be created.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 instance to create.
    * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job instance to create.
    * 
* * .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.run.v2.Job getJob(); /** - * - * *
    * Required. The Job instance to create.
    * 
@@ -90,42 +59,34 @@ public interface CreateJobRequestOrBuilder com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Required. The unique identifier for the Job. The name of the job becomes
    * {parent}/jobs/{job_id}.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The jobId. */ java.lang.String getJobId(); /** - * - * *
    * Required. The unique identifier for the Job. The name of the job becomes
    * {parent}/jobs/{job_id}.
    * 
* * string job_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for jobId. */ - com.google.protobuf.ByteString getJobIdBytes(); + com.google.protobuf.ByteString + getJobIdBytes(); /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or creating any resources.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java similarity index 65% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java index c5fa22173f41..75ae2f5f0311 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequest.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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for creating a Service.
  * 
* * Protobuf type {@code google.cloud.run.v2.CreateServiceRequest} */ -public final class CreateServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.CreateServiceRequest) CreateServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateServiceRequest.newBuilder() to construct. private CreateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateServiceRequest() { parent_ = ""; serviceId_ = ""; @@ -44,45 +26,39 @@ private CreateServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CreateServiceRequest.class, - com.google.cloud.run.v2.CreateServiceRequest.Builder.class); + com.google.cloud.run.v2.CreateServiceRequest.class, com.google.cloud.run.v2.CreateServiceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* - * - * 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 @@ -91,33 +67,31 @@ 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 and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* - * - * 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 { @@ -128,15 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int SERVICE_FIELD_NUMBER = 2; private com.google.cloud.run.v2.Service service_; /** - * - * *
    * Required. The Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ @java.lang.Override @@ -144,15 +114,11 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Required. The Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ @java.lang.Override @@ -160,14 +126,11 @@ public com.google.cloud.run.v2.Service getService() { return service_ == null ? com.google.cloud.run.v2.Service.getDefaultInstance() : service_; } /** - * - * *
    * Required. The Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { @@ -177,16 +140,13 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { public static final int SERVICE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object serviceId_; /** - * - * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceId. */ @java.lang.Override @@ -195,31 +155,31 @@ public java.lang.String getServiceId() { 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(); serviceId_ = s; return s; } } /** - * - * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceId. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceIdBytes() { + public com.google.protobuf.ByteString + getServiceIdBytes() { java.lang.Object ref = serviceId_; 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); serviceId_ = b; return b; } else { @@ -230,15 +190,12 @@ public com.google.protobuf.ByteString getServiceIdBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 4; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or creating any resources.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -247,7 +204,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +215,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_); } @@ -285,13 +242,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getService()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceId_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, validateOnly_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -301,21 +260,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.run.v2.CreateServiceRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.CreateServiceRequest other = - (com.google.cloud.run.v2.CreateServiceRequest) obj; + com.google.cloud.run.v2.CreateServiceRequest other = (com.google.cloud.run.v2.CreateServiceRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } - if (!getServiceId().equals(other.getServiceId())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; + if (!getServiceId() + .equals(other.getServiceId())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -336,142 +298,137 @@ public int hashCode() { hash = (37 * hash) + SERVICE_ID_FIELD_NUMBER; hash = (53 * hash) + getServiceId().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.CreateServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.CreateServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.CreateServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest 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 creating a Service.
    * 
* * Protobuf type {@code google.cloud.run.v2.CreateServiceRequest} */ - 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.run.v2.CreateServiceRequest) com.google.cloud.run.v2.CreateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.CreateServiceRequest.class, - com.google.cloud.run.v2.CreateServiceRequest.Builder.class); + com.google.cloud.run.v2.CreateServiceRequest.class, com.google.cloud.run.v2.CreateServiceRequest.Builder.class); } // Construct using com.google.cloud.run.v2.CreateServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +448,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor; } @java.lang.Override @@ -512,8 +469,7 @@ public com.google.cloud.run.v2.CreateServiceRequest build() { @java.lang.Override public com.google.cloud.run.v2.CreateServiceRequest buildPartial() { - com.google.cloud.run.v2.CreateServiceRequest result = - new com.google.cloud.run.v2.CreateServiceRequest(this); + com.google.cloud.run.v2.CreateServiceRequest result = new com.google.cloud.run.v2.CreateServiceRequest(this); result.parent_ = parent_; if (serviceBuilder_ == null) { result.service_ = service_; @@ -530,39 +486,38 @@ public com.google.cloud.run.v2.CreateServiceRequest 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.run.v2.CreateServiceRequest) { - return mergeFrom((com.google.cloud.run.v2.CreateServiceRequest) other); + return mergeFrom((com.google.cloud.run.v2.CreateServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -611,37 +566,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getServiceFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - serviceId_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + serviceId_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - validateOnly_ = input.readBool(); + break; + } // case 26 + case 32: { + validateOnly_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -654,24 +606,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* - * - * 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; @@ -680,25 +628,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* - * - * 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 { @@ -706,73 +651,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* - * - * 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 and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* - * - * 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 and project in which this service should be created.
-     * Format: projects/{project}/locations/{location}
-     * Only lowercase characters, digits, and hyphens.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number. Only lowercase characters, digits, and hyphens.
      * 
* - * - * 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; @@ -780,35 +712,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> - serviceBuilder_; + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ public com.google.cloud.run.v2.Service getService() { @@ -819,14 +740,11 @@ public com.google.cloud.run.v2.Service getService() { } } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService(com.google.cloud.run.v2.Service value) { if (serviceBuilder_ == null) { @@ -842,16 +760,14 @@ public Builder setService(com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setService(com.google.cloud.run.v2.Service.Builder builderForValue) { + public Builder setService( + com.google.cloud.run.v2.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -862,20 +778,17 @@ public Builder setService(com.google.cloud.run.v2.Service.Builder builderForValu return this; } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeService(com.google.cloud.run.v2.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.cloud.run.v2.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.cloud.run.v2.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -887,14 +800,11 @@ public Builder mergeService(com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -908,59 +818,48 @@ public Builder clearService() { return this; } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? com.google.cloud.run.v2.Service.getDefaultInstance() : service_; + return service_ == null ? + com.google.cloud.run.v2.Service.getDefaultInstance() : service_; } } /** - * - * *
      * Required. The Service instance to create.
      * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; @@ -968,22 +867,20 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { private java.lang.Object serviceId_ = ""; /** - * - * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceId. */ public java.lang.String getServiceId() { java.lang.Object ref = serviceId_; 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(); serviceId_ = s; return s; @@ -992,23 +889,22 @@ public java.lang.String getServiceId() { } } /** - * - * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceId. */ - public com.google.protobuf.ByteString getServiceIdBytes() { + public com.google.protobuf.ByteString + getServiceIdBytes() { java.lang.Object ref = serviceId_; 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); serviceId_ = b; return b; } else { @@ -1016,83 +912,73 @@ public com.google.protobuf.ByteString getServiceIdBytes() { } } /** - * - * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The serviceId to set. * @return This builder for chaining. */ - public Builder setServiceId(java.lang.String value) { + public Builder setServiceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearServiceId() { - + serviceId_ = getDefaultInstance().getServiceId(); onChanged(); return this; } /** - * - * *
      * Required. The unique identifier for the Service. It must begin with letter,
-     * and may not end with hyphen; must contain fewer than 50 characters.
+     * and cannot end with hyphen; must contain fewer than 50 characters.
      * The name of the service becomes {parent}/services/{service_id}.
      * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for serviceId to set. * @return This builder for chaining. */ - public Builder setServiceIdBytes(com.google.protobuf.ByteString value) { + public Builder setServiceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceId_ = value; onChanged(); return this; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @return The validateOnly. */ @java.lang.Override @@ -1100,45 +986,39 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or creating any resources.
      * 
* * bool validate_only = 4; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; 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); } @@ -1148,12 +1028,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.CreateServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.CreateServiceRequest) private static final com.google.cloud.run.v2.CreateServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.CreateServiceRequest(); } @@ -1162,27 +1042,27 @@ public static com.google.cloud.run.v2.CreateServiceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1197,4 +1077,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.CreateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java similarity index 57% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java index 6b8f4a596f42..e2e1040ba5d7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/CreateServiceRequestOrBuilder.java @@ -1,138 +1,94 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; -public interface CreateServiceRequestOrBuilder - extends +public interface CreateServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.CreateServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* - * - * 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 and project in which this service should be created.
-   * Format: projects/{project}/locations/{location}
-   * Only lowercase characters, digits, and hyphens.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number. Only lowercase characters, digits, and hyphens.
    * 
* - * - * 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 Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Required. The Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ com.google.cloud.run.v2.Service getService(); /** - * - * *
    * Required. The Service instance to create.
    * 
* - * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder(); /** - * - * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The serviceId. */ java.lang.String getServiceId(); /** - * - * *
    * Required. The unique identifier for the Service. It must begin with letter,
-   * and may not end with hyphen; must contain fewer than 50 characters.
+   * and cannot end with hyphen; must contain fewer than 50 characters.
    * The name of the service becomes {parent}/services/{service_id}.
    * 
* * string service_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for serviceId. */ - com.google.protobuf.ByteString getServiceIdBytes(); + com.google.protobuf.ByteString + getServiceIdBytes(); /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or creating any resources.
    * 
* * bool validate_only = 4; - * * @return The validateOnly. */ boolean getValidateOnly(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java index 330d7c46fbe6..dfbd339fb1be 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequest.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/run/v2/execution.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for deleting an Execution.
  * 
* * Protobuf type {@code google.cloud.run.v2.DeleteExecutionRequest} */ -public final class DeleteExecutionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteExecutionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.DeleteExecutionRequest) DeleteExecutionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteExecutionRequest.newBuilder() to construct. private DeleteExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteExecutionRequest() { name_ = ""; etag_ = ""; @@ -44,45 +26,40 @@ private DeleteExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteExecutionRequest.class, - com.google.cloud.run.v2.DeleteExecutionRequest.Builder.class); + com.google.cloud.run.v2.DeleteExecutionRequest.class, com.google.cloud.run.v2.DeleteExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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 @@ -91,33 +68,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 name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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 { @@ -128,15 +104,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -147,15 +120,12 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 3; private volatile java.lang.Object etag_; /** - * - * *
    * A system-generated fingerprint for this version of the resource.
    * This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ @java.lang.Override @@ -164,30 +134,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * A system-generated fingerprint for this version of the resource.
    * This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -196,7 +166,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +177,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_); } @@ -231,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); @@ -244,17 +215,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.run.v2.DeleteExecutionRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.DeleteExecutionRequest other = - (com.google.cloud.run.v2.DeleteExecutionRequest) obj; + com.google.cloud.run.v2.DeleteExecutionRequest other = (com.google.cloud.run.v2.DeleteExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -269,7 +242,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -277,136 +251,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.DeleteExecutionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.DeleteExecutionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.DeleteExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest 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 an Execution.
    * 
* * Protobuf type {@code google.cloud.run.v2.DeleteExecutionRequest} */ - 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.run.v2.DeleteExecutionRequest) com.google.cloud.run.v2.DeleteExecutionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteExecutionRequest.class, - com.google.cloud.run.v2.DeleteExecutionRequest.Builder.class); + com.google.cloud.run.v2.DeleteExecutionRequest.class, com.google.cloud.run.v2.DeleteExecutionRequest.Builder.class); } // Construct using com.google.cloud.run.v2.DeleteExecutionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -420,9 +388,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; } @java.lang.Override @@ -441,8 +409,7 @@ public com.google.cloud.run.v2.DeleteExecutionRequest build() { @java.lang.Override public com.google.cloud.run.v2.DeleteExecutionRequest buildPartial() { - com.google.cloud.run.v2.DeleteExecutionRequest result = - new com.google.cloud.run.v2.DeleteExecutionRequest(this); + com.google.cloud.run.v2.DeleteExecutionRequest result = new com.google.cloud.run.v2.DeleteExecutionRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.etag_ = etag_; @@ -454,39 +421,38 @@ public com.google.cloud.run.v2.DeleteExecutionRequest 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.run.v2.DeleteExecutionRequest) { - return mergeFrom((com.google.cloud.run.v2.DeleteExecutionRequest) other); + return mergeFrom((com.google.cloud.run.v2.DeleteExecutionRequest)other); } else { super.mergeFrom(other); return this; @@ -532,31 +498,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - - break; - } // case 16 - case 26: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + + break; + } // case 16 + case 26: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -569,24 +531,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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; @@ -595,25 +554,23 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 { @@ -621,89 +578,76 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 name of the Execution to delete.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -711,38 +655,32 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; @@ -750,21 +688,19 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * A system-generated fingerprint for this version of the resource.
      * This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -773,22 +709,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * A system-generated fingerprint for this version of the resource.
      * This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -796,71 +731,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * A system-generated fingerprint for this version of the resource.
      * This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the resource.
      * This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the resource.
      * This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -870,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.DeleteExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.DeleteExecutionRequest) private static final com.google.cloud.run.v2.DeleteExecutionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.DeleteExecutionRequest(); } @@ -884,27 +812,27 @@ public static com.google.cloud.run.v2.DeleteExecutionRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,4 +847,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.DeleteExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java similarity index 56% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java index fe261de25f32..c4125625a418 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteExecutionRequestOrBuilder.java @@ -1,99 +1,68 @@ -/* - * 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/run/v2/execution.proto package com.google.cloud.run.v2; -public interface DeleteExecutionRequestOrBuilder - extends +public interface DeleteExecutionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.DeleteExecutionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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.String getName(); /** - * - * *
    * Required. The name of the Execution to delete.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * A system-generated fingerprint for this version of the resource.
    * This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * A system-generated fingerprint for this version of the resource.
    * This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java index d5b667c41a1c..70a4c6ca1f8c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequest.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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message to delete a Job by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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_ = ""; etag_ = ""; @@ -44,44 +26,39 @@ private DeleteJobRequest() { @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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteJobRequest.class, - com.google.cloud.run.v2.DeleteJobRequest.Builder.class); + com.google.cloud.run.v2.DeleteJobRequest.class, com.google.cloud.run.v2.DeleteJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 @@ -90,32 +67,31 @@ 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 full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 { @@ -126,15 +102,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -145,15 +118,12 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 4; private volatile java.lang.Object etag_; /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 4; - * * @return The etag. */ @java.lang.Override @@ -162,30 +132,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 4; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,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_); } @@ -229,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, etag_); @@ -242,16 +213,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.run.v2.DeleteJobRequest)) { return super.equals(obj); } com.google.cloud.run.v2.DeleteJobRequest other = (com.google.cloud.run.v2.DeleteJobRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +240,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -274,136 +249,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.DeleteJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.DeleteJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.DeleteJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.DeleteJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.DeleteJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.DeleteJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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 to delete a Job by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.DeleteJobRequest) com.google.cloud.run.v2.DeleteJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteJobRequest.class, - com.google.cloud.run.v2.DeleteJobRequest.Builder.class); + com.google.cloud.run.v2.DeleteJobRequest.class, com.google.cloud.run.v2.DeleteJobRequest.Builder.class); } // Construct using com.google.cloud.run.v2.DeleteJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -417,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; } @java.lang.Override @@ -438,8 +407,7 @@ public com.google.cloud.run.v2.DeleteJobRequest build() { @java.lang.Override public com.google.cloud.run.v2.DeleteJobRequest buildPartial() { - com.google.cloud.run.v2.DeleteJobRequest result = - new com.google.cloud.run.v2.DeleteJobRequest(this); + com.google.cloud.run.v2.DeleteJobRequest result = new com.google.cloud.run.v2.DeleteJobRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.etag_ = etag_; @@ -451,39 +419,38 @@ public com.google.cloud.run.v2.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.run.v2.DeleteJobRequest) { - return mergeFrom((com.google.cloud.run.v2.DeleteJobRequest) other); + return mergeFrom((com.google.cloud.run.v2.DeleteJobRequest)other); } else { super.mergeFrom(other); return this; @@ -529,31 +496,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 24: - { - validateOnly_ = input.readBool(); - - break; - } // case 24 - case 34: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 24: { + validateOnly_ = input.readBool(); + + break; + } // case 24 + case 34: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -566,23 +529,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; @@ -591,24 +551,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 { @@ -616,86 +574,73 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -703,38 +648,32 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; @@ -742,21 +681,19 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 4; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -765,22 +702,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 4; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -788,71 +724,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 4; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 4; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 4; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -862,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.DeleteJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.DeleteJobRequest) private static final com.google.cloud.run.v2.DeleteJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.DeleteJobRequest(); } @@ -876,27 +805,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,4 +840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.DeleteJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java similarity index 51% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java index 138c20f5521a..0a85fae9a43e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteJobRequestOrBuilder.java @@ -1,97 +1,66 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; -public interface DeleteJobRequestOrBuilder - extends +public interface DeleteJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.DeleteJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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.String getName(); /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 4; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 4; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java similarity index 67% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java index fd349ed0f395..48f1c7105fca 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequest.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/run/v2/revision.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for deleting a retired Revision.
  * Revision lifecycle is usually managed by making changes to the parent
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.DeleteRevisionRequest}
  */
-public final class DeleteRevisionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteRevisionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.DeleteRevisionRequest)
     DeleteRevisionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteRevisionRequest.newBuilder() to construct.
   private DeleteRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteRevisionRequest() {
     name_ = "";
     etag_ = "";
@@ -46,45 +28,39 @@ private DeleteRevisionRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteRevisionRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.RevisionProto
-        .internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.RevisionProto
-        .internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable
+    return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.DeleteRevisionRequest.class,
-            com.google.cloud.run.v2.DeleteRevisionRequest.Builder.class);
+            com.google.cloud.run.v2.DeleteRevisionRequest.class, com.google.cloud.run.v2.DeleteRevisionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. The name of the Revision to delete.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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 @@ -93,33 +69,31 @@ 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 name of the Revision to delete.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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 { @@ -130,15 +104,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -149,15 +120,12 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 3; private volatile java.lang.Object etag_; /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ @java.lang.Override @@ -166,30 +134,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -198,7 +166,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,7 +177,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_); } @@ -233,7 +201,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); @@ -246,17 +215,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.run.v2.DeleteRevisionRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.DeleteRevisionRequest other = - (com.google.cloud.run.v2.DeleteRevisionRequest) obj; + com.google.cloud.run.v2.DeleteRevisionRequest other = (com.google.cloud.run.v2.DeleteRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,7 +242,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -279,104 +251,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.DeleteRevisionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.DeleteRevisionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.DeleteRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest 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 retired Revision.
    * Revision lifecycle is usually managed by making changes to the parent
@@ -385,32 +350,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.DeleteRevisionRequest}
    */
-  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.run.v2.DeleteRevisionRequest)
       com.google.cloud.run.v2.DeleteRevisionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.DeleteRevisionRequest.class,
-              com.google.cloud.run.v2.DeleteRevisionRequest.Builder.class);
+              com.google.cloud.run.v2.DeleteRevisionRequest.class, com.google.cloud.run.v2.DeleteRevisionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.DeleteRevisionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -424,9 +390,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -445,8 +411,7 @@ public com.google.cloud.run.v2.DeleteRevisionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.DeleteRevisionRequest buildPartial() {
-      com.google.cloud.run.v2.DeleteRevisionRequest result =
-          new com.google.cloud.run.v2.DeleteRevisionRequest(this);
+      com.google.cloud.run.v2.DeleteRevisionRequest result = new com.google.cloud.run.v2.DeleteRevisionRequest(this);
       result.name_ = name_;
       result.validateOnly_ = validateOnly_;
       result.etag_ = etag_;
@@ -458,39 +423,38 @@ public com.google.cloud.run.v2.DeleteRevisionRequest 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.run.v2.DeleteRevisionRequest) {
-        return mergeFrom((com.google.cloud.run.v2.DeleteRevisionRequest) other);
+        return mergeFrom((com.google.cloud.run.v2.DeleteRevisionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -536,31 +500,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                validateOnly_ = input.readBool();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              validateOnly_ = input.readBool();
+
+              break;
+            } // case 16
+            case 26: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -573,24 +533,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the Revision to delete.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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; @@ -599,25 +555,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the Revision to delete.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 { @@ -625,89 +578,73 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the Revision to delete.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 name of the Revision to delete.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 name of the Revision to delete.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -715,38 +652,32 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; @@ -754,21 +685,19 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -777,22 +706,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -800,71 +728,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. This may be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -874,12 +795,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.DeleteRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.DeleteRevisionRequest) private static final com.google.cloud.run.v2.DeleteRevisionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.DeleteRevisionRequest(); } @@ -888,27 +809,27 @@ public static com.google.cloud.run.v2.DeleteRevisionRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,4 +844,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.DeleteRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java similarity index 57% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java index 52965f1da7c6..acff02d812e3 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteRevisionRequestOrBuilder.java @@ -1,99 +1,66 @@ -/* - * 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/run/v2/revision.proto package com.google.cloud.run.v2; -public interface DeleteRevisionRequestOrBuilder - extends +public interface DeleteRevisionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.DeleteRevisionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the Revision to delete.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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.String getName(); /** - * - * *
    * Required. The name of the Revision to delete.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. This may be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java index baf300c1d23c..039745aca405 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequest.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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message to delete a Service by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.DeleteServiceRequest} */ -public final class DeleteServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.DeleteServiceRequest) DeleteServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteServiceRequest.newBuilder() to construct. private DeleteServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteServiceRequest() { name_ = ""; etag_ = ""; @@ -44,44 +26,39 @@ private DeleteServiceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteServiceRequest.class, - com.google.cloud.run.v2.DeleteServiceRequest.Builder.class); + com.google.cloud.run.v2.DeleteServiceRequest.class, com.google.cloud.run.v2.DeleteServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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 @@ -90,32 +67,31 @@ 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 full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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 { @@ -126,15 +102,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -145,15 +118,12 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 3; private volatile java.lang.Object etag_; /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ @java.lang.Override @@ -162,30 +132,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,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_); } @@ -229,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); @@ -242,17 +213,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.run.v2.DeleteServiceRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.DeleteServiceRequest other = - (com.google.cloud.run.v2.DeleteServiceRequest) obj; + com.google.cloud.run.v2.DeleteServiceRequest other = (com.google.cloud.run.v2.DeleteServiceRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,7 +240,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -275,136 +249,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.DeleteServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.DeleteServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.DeleteServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest 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 to delete a Service by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.DeleteServiceRequest} */ - 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.run.v2.DeleteServiceRequest) com.google.cloud.run.v2.DeleteServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.DeleteServiceRequest.class, - com.google.cloud.run.v2.DeleteServiceRequest.Builder.class); + com.google.cloud.run.v2.DeleteServiceRequest.class, com.google.cloud.run.v2.DeleteServiceRequest.Builder.class); } // Construct using com.google.cloud.run.v2.DeleteServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -418,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; } @java.lang.Override @@ -439,8 +407,7 @@ public com.google.cloud.run.v2.DeleteServiceRequest build() { @java.lang.Override public com.google.cloud.run.v2.DeleteServiceRequest buildPartial() { - com.google.cloud.run.v2.DeleteServiceRequest result = - new com.google.cloud.run.v2.DeleteServiceRequest(this); + com.google.cloud.run.v2.DeleteServiceRequest result = new com.google.cloud.run.v2.DeleteServiceRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.etag_ = etag_; @@ -452,39 +419,38 @@ public com.google.cloud.run.v2.DeleteServiceRequest 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.run.v2.DeleteServiceRequest) { - return mergeFrom((com.google.cloud.run.v2.DeleteServiceRequest) other); + return mergeFrom((com.google.cloud.run.v2.DeleteServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -530,31 +496,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - - break; - } // case 16 - case 26: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + + break; + } // case 16 + case 26: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -567,23 +529,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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; @@ -592,24 +551,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 { @@ -617,86 +574,73 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -704,38 +648,32 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; @@ -743,21 +681,19 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -766,22 +702,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -789,71 +724,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.DeleteServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.DeleteServiceRequest) private static final com.google.cloud.run.v2.DeleteServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.DeleteServiceRequest(); } @@ -877,27 +805,27 @@ public static com.google.cloud.run.v2.DeleteServiceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,4 +840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.DeleteServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java similarity index 56% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java index d9b925eb2bcf..bd35559311b5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/DeleteServiceRequestOrBuilder.java @@ -1,97 +1,66 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; -public interface DeleteServiceRequestOrBuilder - extends +public interface DeleteServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.DeleteServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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.String getName(); /** - * - * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java similarity index 73% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java index ff7c9a0df2b8..a607fd5fa95b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVar.java @@ -1,83 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * EnvVar represents an environment variable present in a Container.
  * 
* * Protobuf type {@code google.cloud.run.v2.EnvVar} */ -public final class EnvVar extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EnvVar extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.EnvVar) EnvVarOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EnvVar.newBuilder() to construct. private EnvVar(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EnvVar() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnvVar(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVar_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.EnvVar.class, com.google.cloud.run.v2.EnvVar.Builder.class); } private int valuesCase_ = 0; private java.lang.Object values_; - public enum ValuesCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(2), VALUE_SOURCE(3), VALUES_NOT_SET(0); private final int value; - private ValuesCase(int value) { this.value = value; } @@ -93,38 +72,32 @@ public static ValuesCase valueOf(int value) { public static ValuesCase forNumber(int value) { switch (value) { - case 2: - return VALUE; - case 3: - return VALUE_SOURCE; - case 0: - return VALUES_NOT_SET; - default: - return null; + case 2: return VALUE; + case 3: return VALUE_SOURCE; + case 0: return VALUES_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ValuesCase getValuesCase() { - return ValuesCase.forNumber(valuesCase_); + public ValuesCase + getValuesCase() { + return ValuesCase.forNumber( + valuesCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
    * exceed 32768 characters.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -133,30 +106,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. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
    * exceed 32768 characters.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -166,8 +139,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALUE_FIELD_NUMBER = 2; /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -180,15 +151,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string value = 2; - * * @return Whether the value field is set. */ public boolean hasValue() { return valuesCase_ == 2; } /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -201,7 +169,6 @@ public boolean hasValue() {
    * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { @@ -212,7 +179,8 @@ public java.lang.String getValue() { 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(); if (valuesCase_ == 2) { values_ = s; @@ -221,8 +189,6 @@ public java.lang.String getValue() { } } /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -235,17 +201,18 @@ public java.lang.String getValue() {
    * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (valuesCase_ == 2) { ref = values_; } 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); if (valuesCase_ == 2) { values_ = b; } @@ -257,14 +224,11 @@ public com.google.protobuf.ByteString getValueBytes() { public static final int VALUE_SOURCE_FIELD_NUMBER = 3; /** - * - * *
    * Source for the environment variable's value.
    * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return Whether the valueSource field is set. */ @java.lang.Override @@ -272,26 +236,21 @@ public boolean hasValueSource() { return valuesCase_ == 3; } /** - * - * *
    * Source for the environment variable's value.
    * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return The valueSource. */ @java.lang.Override public com.google.cloud.run.v2.EnvVarSource getValueSource() { if (valuesCase_ == 3) { - return (com.google.cloud.run.v2.EnvVarSource) values_; + return (com.google.cloud.run.v2.EnvVarSource) values_; } return com.google.cloud.run.v2.EnvVarSource.getDefaultInstance(); } /** - * - * *
    * Source for the environment variable's value.
    * 
@@ -301,13 +260,12 @@ public com.google.cloud.run.v2.EnvVarSource getValueSource() { @java.lang.Override public com.google.cloud.run.v2.EnvVarSourceOrBuilder getValueSourceOrBuilder() { if (valuesCase_ == 3) { - return (com.google.cloud.run.v2.EnvVarSource) values_; + return (com.google.cloud.run.v2.EnvVarSource) values_; } return com.google.cloud.run.v2.EnvVarSource.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,7 +277,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_); } @@ -345,9 +304,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, values_); } if (valuesCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.cloud.run.v2.EnvVarSource) values_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.cloud.run.v2.EnvVarSource) values_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -357,21 +315,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.run.v2.EnvVar)) { return super.equals(obj); } com.google.cloud.run.v2.EnvVar other = (com.google.cloud.run.v2.EnvVar) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getValuesCase().equals(other.getValuesCase())) return false; switch (valuesCase_) { case 2: - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; break; case 3: - if (!getValueSource().equals(other.getValueSource())) return false; + if (!getValueSource() + .equals(other.getValueSource())) return false; break; case 0: default: @@ -406,134 +367,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.EnvVar parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.EnvVar parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVar 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.run.v2.EnvVar parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.EnvVar parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVar 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.run.v2.EnvVar parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVar 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.run.v2.EnvVar 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.run.v2.EnvVar 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.run.v2.EnvVar 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.run.v2.EnvVar 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.run.v2.EnvVar parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.run.v2.EnvVar parseFrom( + com.google.protobuf.CodedInputStream 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.run.v2.EnvVar 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.run.v2.EnvVar 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; } /** - * - * *
    * EnvVar represents an environment variable present in a Container.
    * 
* * Protobuf type {@code google.cloud.run.v2.EnvVar} */ - 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.run.v2.EnvVar) com.google.cloud.run.v2.EnvVarOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVar_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVar_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.EnvVar.class, com.google.cloud.run.v2.EnvVar.Builder.class); } // Construct using com.google.cloud.run.v2.EnvVar.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -548,9 +505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVar_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVar_descriptor; } @java.lang.Override @@ -590,39 +547,38 @@ public com.google.cloud.run.v2.EnvVar 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.run.v2.EnvVar) { - return mergeFrom((com.google.cloud.run.v2.EnvVar) other); + return mergeFrom((com.google.cloud.run.v2.EnvVar)other); } else { super.mergeFrom(other); return this; @@ -636,22 +592,19 @@ public Builder mergeFrom(com.google.cloud.run.v2.EnvVar other) { onChanged(); } switch (other.getValuesCase()) { - case VALUE: - { - valuesCase_ = 2; - values_ = other.values_; - onChanged(); - break; - } - case VALUE_SOURCE: - { - mergeValueSource(other.getValueSource()); - break; - } - case VALUES_NOT_SET: - { - break; - } + case VALUE: { + valuesCase_ = 2; + values_ = other.values_; + onChanged(); + break; + } + case VALUE_SOURCE: { + mergeValueSource(other.getValueSource()); + break; + } + case VALUES_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -679,32 +632,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - valuesCase_ = 2; - values_ = s; - break; - } // case 18 - case 26: - { - input.readMessage(getValueSourceFieldBuilder().getBuilder(), extensionRegistry); - valuesCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + valuesCase_ = 2; + values_ = s; + break; + } // case 18 + case 26: { + input.readMessage( + getValueSourceFieldBuilder().getBuilder(), + extensionRegistry); + valuesCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -714,12 +665,12 @@ public Builder mergeFrom( } // finally return this; } - private int valuesCase_ = 0; private java.lang.Object values_; - - public ValuesCase getValuesCase() { - return ValuesCase.forNumber(valuesCase_); + public ValuesCase + getValuesCase() { + return ValuesCase.forNumber( + valuesCase_); } public Builder clearValues() { @@ -729,23 +680,22 @@ public Builder clearValues() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
      * exceed 32768 characters.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -754,22 +704,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
      * exceed 32768 characters.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -777,72 +726,63 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
      * exceed 32768 characters.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
      * exceed 32768 characters.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
      * exceed 32768 characters.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -855,7 +795,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -863,8 +802,6 @@ public boolean hasValue() { return valuesCase_ == 2; } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -877,7 +814,6 @@ public boolean hasValue() {
      * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -887,7 +823,8 @@ public java.lang.String getValue() { ref = values_; } 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(); if (valuesCase_ == 2) { values_ = s; @@ -898,8 +835,6 @@ public java.lang.String getValue() { } } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -912,18 +847,19 @@ public java.lang.String getValue() {
      * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = ""; if (valuesCase_ == 2) { ref = values_; } 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); if (valuesCase_ == 2) { values_ = b; } @@ -933,8 +869,6 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -947,22 +881,20 @@ public com.google.protobuf.ByteString getValueBytes() {
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - valuesCase_ = 2; + throw new NullPointerException(); + } + valuesCase_ = 2; values_ = value; onChanged(); return this; } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -975,7 +907,6 @@ public Builder setValue(java.lang.String value) {
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -987,8 +918,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * Variable references $(VAR_NAME) are expanded
      * using the previous defined environment variables in the container and
@@ -1001,15 +930,15 @@ public Builder clearValue() {
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); valuesCase_ = 2; values_ = value; onChanged(); @@ -1017,19 +946,13 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.EnvVarSource, - com.google.cloud.run.v2.EnvVarSource.Builder, - com.google.cloud.run.v2.EnvVarSourceOrBuilder> - valueSourceBuilder_; + com.google.cloud.run.v2.EnvVarSource, com.google.cloud.run.v2.EnvVarSource.Builder, com.google.cloud.run.v2.EnvVarSourceOrBuilder> valueSourceBuilder_; /** - * - * *
      * Source for the environment variable's value.
      * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return Whether the valueSource field is set. */ @java.lang.Override @@ -1037,14 +960,11 @@ public boolean hasValueSource() { return valuesCase_ == 3; } /** - * - * *
      * Source for the environment variable's value.
      * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return The valueSource. */ @java.lang.Override @@ -1062,8 +982,6 @@ public com.google.cloud.run.v2.EnvVarSource getValueSource() { } } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1084,15 +1002,14 @@ public Builder setValueSource(com.google.cloud.run.v2.EnvVarSource value) { return this; } /** - * - * *
      * Source for the environment variable's value.
      * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; */ - public Builder setValueSource(com.google.cloud.run.v2.EnvVarSource.Builder builderForValue) { + public Builder setValueSource( + com.google.cloud.run.v2.EnvVarSource.Builder builderForValue) { if (valueSourceBuilder_ == null) { values_ = builderForValue.build(); onChanged(); @@ -1103,8 +1020,6 @@ public Builder setValueSource(com.google.cloud.run.v2.EnvVarSource.Builder build return this; } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1113,13 +1028,10 @@ public Builder setValueSource(com.google.cloud.run.v2.EnvVarSource.Builder build */ public Builder mergeValueSource(com.google.cloud.run.v2.EnvVarSource value) { if (valueSourceBuilder_ == null) { - if (valuesCase_ == 3 - && values_ != com.google.cloud.run.v2.EnvVarSource.getDefaultInstance()) { - values_ = - com.google.cloud.run.v2.EnvVarSource.newBuilder( - (com.google.cloud.run.v2.EnvVarSource) values_) - .mergeFrom(value) - .buildPartial(); + if (valuesCase_ == 3 && + values_ != com.google.cloud.run.v2.EnvVarSource.getDefaultInstance()) { + values_ = com.google.cloud.run.v2.EnvVarSource.newBuilder((com.google.cloud.run.v2.EnvVarSource) values_) + .mergeFrom(value).buildPartial(); } else { values_ = value; } @@ -1135,8 +1047,6 @@ public Builder mergeValueSource(com.google.cloud.run.v2.EnvVarSource value) { return this; } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1160,8 +1070,6 @@ public Builder clearValueSource() { return this; } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1172,8 +1080,6 @@ public com.google.cloud.run.v2.EnvVarSource.Builder getValueSourceBuilder() { return getValueSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1192,8 +1098,6 @@ public com.google.cloud.run.v2.EnvVarSourceOrBuilder getValueSourceOrBuilder() { } } /** - * - * *
      * Source for the environment variable's value.
      * 
@@ -1201,30 +1105,26 @@ public com.google.cloud.run.v2.EnvVarSourceOrBuilder getValueSourceOrBuilder() { * .google.cloud.run.v2.EnvVarSource value_source = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.EnvVarSource, - com.google.cloud.run.v2.EnvVarSource.Builder, - com.google.cloud.run.v2.EnvVarSourceOrBuilder> + com.google.cloud.run.v2.EnvVarSource, com.google.cloud.run.v2.EnvVarSource.Builder, com.google.cloud.run.v2.EnvVarSourceOrBuilder> getValueSourceFieldBuilder() { if (valueSourceBuilder_ == null) { if (!(valuesCase_ == 3)) { values_ = com.google.cloud.run.v2.EnvVarSource.getDefaultInstance(); } - valueSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.EnvVarSource, - com.google.cloud.run.v2.EnvVarSource.Builder, - com.google.cloud.run.v2.EnvVarSourceOrBuilder>( - (com.google.cloud.run.v2.EnvVarSource) values_, getParentForChildren(), isClean()); + valueSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.EnvVarSource, com.google.cloud.run.v2.EnvVarSource.Builder, com.google.cloud.run.v2.EnvVarSourceOrBuilder>( + (com.google.cloud.run.v2.EnvVarSource) values_, + getParentForChildren(), + isClean()); values_ = null; } valuesCase_ = 3; - onChanged(); - ; + onChanged();; return valueSourceBuilder_; } - @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); } @@ -1234,12 +1134,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.EnvVar) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.EnvVar) private static final com.google.cloud.run.v2.EnvVar DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.EnvVar(); } @@ -1248,27 +1148,27 @@ public static com.google.cloud.run.v2.EnvVar getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvVar parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvVar parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1283,4 +1183,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.EnvVar getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java similarity index 80% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java index b0c1be02f033..f0bc095e2865 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarOrBuilder.java @@ -1,58 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface EnvVarOrBuilder - extends +public interface EnvVarOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.EnvVar) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
    * exceed 32768 characters.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay not
    * exceed 32768 characters.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -65,13 +42,10 @@ public interface EnvVarOrBuilder
    * 
* * string value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -84,13 +58,10 @@ public interface EnvVarOrBuilder
    * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * Variable references $(VAR_NAME) are expanded
    * using the previous defined environment variables in the container and
@@ -103,38 +74,30 @@ public interface EnvVarOrBuilder
    * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); /** - * - * *
    * Source for the environment variable's value.
    * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return Whether the valueSource field is set. */ boolean hasValueSource(); /** - * - * *
    * Source for the environment variable's value.
    * 
* * .google.cloud.run.v2.EnvVarSource value_source = 3; - * * @return The valueSource. */ com.google.cloud.run.v2.EnvVarSource getValueSource(); /** - * - * *
    * Source for the environment variable's value.
    * 
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java index 67c39e487edb..115d6419bbdd 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSource.java @@ -1,81 +1,60 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * EnvVarSource represents a source for the value of an EnvVar.
  * 
* * Protobuf type {@code google.cloud.run.v2.EnvVarSource} */ -public final class EnvVarSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EnvVarSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.EnvVarSource) EnvVarSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EnvVarSource.newBuilder() to construct. private EnvVarSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private EnvVarSource() {} + private EnvVarSource() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new EnvVarSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVarSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVarSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.EnvVarSource.class, - com.google.cloud.run.v2.EnvVarSource.Builder.class); + com.google.cloud.run.v2.EnvVarSource.class, com.google.cloud.run.v2.EnvVarSource.Builder.class); } public static final int SECRET_KEY_REF_FIELD_NUMBER = 1; private com.google.cloud.run.v2.SecretKeySelector secretKeyRef_; /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return Whether the secretKeyRef field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasSecretKeyRef() { return secretKeyRef_ != null; } /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return The secretKeyRef. */ @java.lang.Override public com.google.cloud.run.v2.SecretKeySelector getSecretKeyRef() { - return secretKeyRef_ == null - ? com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() - : secretKeyRef_; + return secretKeyRef_ == null ? com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() : secretKeyRef_; } /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
@@ -114,7 +86,6 @@ public com.google.cloud.run.v2.SecretKeySelectorOrBuilder getSecretKeyRefOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +97,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 (secretKeyRef_ != null) { output.writeMessage(1, getSecretKeyRef()); } @@ -140,7 +112,8 @@ public int getSerializedSize() { size = 0; if (secretKeyRef_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSecretKeyRef()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getSecretKeyRef()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,7 +123,7 @@ 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.run.v2.EnvVarSource)) { return super.equals(obj); @@ -159,7 +132,8 @@ public boolean equals(final java.lang.Object obj) { if (hasSecretKeyRef() != other.hasSecretKeyRef()) return false; if (hasSecretKeyRef()) { - if (!getSecretKeyRef().equals(other.getSecretKeyRef())) return false; + if (!getSecretKeyRef() + .equals(other.getSecretKeyRef())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -181,135 +155,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.EnvVarSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.EnvVarSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVarSource 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.run.v2.EnvVarSource parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.EnvVarSource parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVarSource 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.run.v2.EnvVarSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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.run.v2.EnvVarSource 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; } /** - * - * *
    * EnvVarSource represents a source for the value of an EnvVar.
    * 
* * Protobuf type {@code google.cloud.run.v2.EnvVarSource} */ - 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.run.v2.EnvVarSource) com.google.cloud.run.v2.EnvVarSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVarSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVarSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.EnvVarSource.class, - com.google.cloud.run.v2.EnvVarSource.Builder.class); + com.google.cloud.run.v2.EnvVarSource.class, com.google.cloud.run.v2.EnvVarSource.Builder.class); } // Construct using com.google.cloud.run.v2.EnvVarSource.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_EnvVarSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_EnvVarSource_descriptor; } @java.lang.Override @@ -358,39 +327,38 @@ public com.google.cloud.run.v2.EnvVarSource 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.run.v2.EnvVarSource) { - return mergeFrom((com.google.cloud.run.v2.EnvVarSource) other); + return mergeFrom((com.google.cloud.run.v2.EnvVarSource)other); } else { super.mergeFrom(other); return this; @@ -428,19 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSecretKeyRefFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSecretKeyRefFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,47 +421,34 @@ public Builder mergeFrom( private com.google.cloud.run.v2.SecretKeySelector secretKeyRef_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.SecretKeySelector, - com.google.cloud.run.v2.SecretKeySelector.Builder, - com.google.cloud.run.v2.SecretKeySelectorOrBuilder> - secretKeyRefBuilder_; + com.google.cloud.run.v2.SecretKeySelector, com.google.cloud.run.v2.SecretKeySelector.Builder, com.google.cloud.run.v2.SecretKeySelectorOrBuilder> secretKeyRefBuilder_; /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return Whether the secretKeyRef field is set. */ public boolean hasSecretKeyRef() { return secretKeyRefBuilder_ != null || secretKeyRef_ != null; } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return The secretKeyRef. */ public com.google.cloud.run.v2.SecretKeySelector getSecretKeyRef() { if (secretKeyRefBuilder_ == null) { - return secretKeyRef_ == null - ? com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() - : secretKeyRef_; + return secretKeyRef_ == null ? com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() : secretKeyRef_; } else { return secretKeyRefBuilder_.getMessage(); } } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -514,8 +469,6 @@ public Builder setSecretKeyRef(com.google.cloud.run.v2.SecretKeySelector value) return this; } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -534,8 +487,6 @@ public Builder setSecretKeyRef( return this; } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -546,9 +497,7 @@ public Builder mergeSecretKeyRef(com.google.cloud.run.v2.SecretKeySelector value if (secretKeyRefBuilder_ == null) { if (secretKeyRef_ != null) { secretKeyRef_ = - com.google.cloud.run.v2.SecretKeySelector.newBuilder(secretKeyRef_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.SecretKeySelector.newBuilder(secretKeyRef_).mergeFrom(value).buildPartial(); } else { secretKeyRef_ = value; } @@ -560,8 +509,6 @@ public Builder mergeSecretKeyRef(com.google.cloud.run.v2.SecretKeySelector value return this; } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -580,8 +527,6 @@ public Builder clearSecretKeyRef() { return this; } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -589,13 +534,11 @@ public Builder clearSecretKeyRef() { * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; */ public com.google.cloud.run.v2.SecretKeySelector.Builder getSecretKeyRefBuilder() { - + onChanged(); return getSecretKeyRefFieldBuilder().getBuilder(); } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -606,14 +549,11 @@ public com.google.cloud.run.v2.SecretKeySelectorOrBuilder getSecretKeyRefOrBuild if (secretKeyRefBuilder_ != null) { return secretKeyRefBuilder_.getMessageOrBuilder(); } else { - return secretKeyRef_ == null - ? com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() - : secretKeyRef_; + return secretKeyRef_ == null ? + com.google.cloud.run.v2.SecretKeySelector.getDefaultInstance() : secretKeyRef_; } } /** - * - * *
      * Selects a secret and a specific version from Cloud Secret Manager.
      * 
@@ -621,24 +561,21 @@ public com.google.cloud.run.v2.SecretKeySelectorOrBuilder getSecretKeyRefOrBuild * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.SecretKeySelector, - com.google.cloud.run.v2.SecretKeySelector.Builder, - com.google.cloud.run.v2.SecretKeySelectorOrBuilder> + com.google.cloud.run.v2.SecretKeySelector, com.google.cloud.run.v2.SecretKeySelector.Builder, com.google.cloud.run.v2.SecretKeySelectorOrBuilder> getSecretKeyRefFieldBuilder() { if (secretKeyRefBuilder_ == null) { - secretKeyRefBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.SecretKeySelector, - com.google.cloud.run.v2.SecretKeySelector.Builder, - com.google.cloud.run.v2.SecretKeySelectorOrBuilder>( - getSecretKeyRef(), getParentForChildren(), isClean()); + secretKeyRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.SecretKeySelector, com.google.cloud.run.v2.SecretKeySelector.Builder, com.google.cloud.run.v2.SecretKeySelectorOrBuilder>( + getSecretKeyRef(), + getParentForChildren(), + isClean()); secretKeyRef_ = null; } return secretKeyRefBuilder_; } - @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); } @@ -648,12 +585,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.EnvVarSource) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.EnvVarSource) private static final com.google.cloud.run.v2.EnvVarSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.EnvVarSource(); } @@ -662,27 +599,27 @@ public static com.google.cloud.run.v2.EnvVarSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnvVarSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnvVarSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -697,4 +634,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.EnvVarSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java index 16d2f245316d..7209c61f6e37 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/EnvVarSourceOrBuilder.java @@ -1,55 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface EnvVarSourceOrBuilder - extends +public interface EnvVarSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.EnvVarSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return Whether the secretKeyRef field is set. */ boolean hasSecretKeyRef(); /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
* * .google.cloud.run.v2.SecretKeySelector secret_key_ref = 1; - * * @return The secretKeyRef. */ com.google.cloud.run.v2.SecretKeySelector getSecretKeyRef(); /** - * - * *
    * Selects a secret and a specific version from Cloud Secret Manager.
    * 
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java similarity index 65% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java index 100f3473e774..03e6643c569b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Execution.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/run/v2/execution.proto package com.google.cloud.run.v2; /** - * - * *
  * Execution represents the configuration of a single execution. A execution an
  * immutable resource that references a container image which is run to
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.Execution}
  */
-public final class Execution extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Execution extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Execution)
     ExecutionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Execution.newBuilder() to construct.
   private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Execution() {
     name_ = "";
     uid_ = "";
@@ -50,54 +32,51 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.ExecutionProto
-        .internal_static_google_cloud_run_v2_Execution_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_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 internalGetLabels();
       case 5:
         return internalGetAnnotations();
       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.run.v2.ExecutionProto
-        .internal_static_google_cloud_run_v2_Execution_fieldAccessorTable
+    return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.Execution.class,
-            com.google.cloud.run.v2.Execution.Builder.class);
+            com.google.cloud.run.v2.Execution.class, com.google.cloud.run.v2.Execution.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The unique name of this Execution.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -106,29 +85,29 @@ 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; } } /** - * - * *
    * Output only. The unique name of this Execution.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -139,16 +118,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** - * - * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -157,31 +132,30 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** - * - * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -192,15 +166,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -209,23 +180,24 @@ public long getGeneration() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_Execution_LabelsEntry_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.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -234,8 +206,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -250,22 +220,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 4;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -281,12 +251,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -302,16 +271,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -327,11 +296,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -339,24 +309,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 5;
-
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.ExecutionProto
-                .internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_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.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField annotations_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> annotations_;
   private com.google.protobuf.MapField
-      internalGetAnnotations() {
+  internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -365,30 +335,28 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -396,12 +364,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -409,17 +376,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -427,11 +393,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -441,17 +408,13 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -459,17 +422,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -477,16 +436,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -496,17 +452,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -514,17 +466,13 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -532,16 +480,13 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -551,17 +496,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int COMPLETION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp completionTime_; /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ @java.lang.Override @@ -569,36 +509,25 @@ public boolean hasCompletionTime() { return completionTime_ != null; } /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCompletionTime() { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { @@ -608,15 +537,11 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -624,15 +549,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -640,14 +561,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -657,16 +575,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -674,16 +588,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -691,15 +601,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -709,17 +616,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -727,17 +630,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -745,16 +644,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -764,8 +660,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int LAUNCH_STAGE_FIELD_NUMBER = 11; private int launchStage_; /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -774,16 +668,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -792,11 +682,9 @@ public int getLaunchStageValue() {
    * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The launchStage. */ - @java.lang.Override - public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; @@ -805,16 +693,11 @@ public com.google.api.LaunchStage getLaunchStage() { public static final int JOB_FIELD_NUMBER = 12; private volatile java.lang.Object job_; /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ @java.lang.Override @@ -823,31 +706,29 @@ public java.lang.String getJob() { 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(); job_ = s; return s; } } /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ @java.lang.Override - public com.google.protobuf.ByteString getJobBytes() { + public com.google.protobuf.ByteString + getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -858,11 +739,9 @@ public com.google.protobuf.ByteString getJobBytes() { public static final int PARALLELISM_FIELD_NUMBER = 13; private int parallelism_; /** - * - * *
-   * Output only. Specifies the maximum desired number of tasks the execution
-   * should run at any given time. Must be <= task_count. The actual number of
+   * Output only. Specifies the maximum desired number of tasks the execution should
+   * run at any given time. Must be <= task_count. The actual number of
    * tasks running in steady state will be less than this number when
    * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
    * the work left to do is less than max parallelism. More info:
@@ -870,7 +749,6 @@ public com.google.protobuf.ByteString getJobBytes() {
    * 
* * int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parallelism. */ @java.lang.Override @@ -881,18 +759,15 @@ public int getParallelism() { public static final int TASK_COUNT_FIELD_NUMBER = 14; private int taskCount_; /** - * - * *
-   * Output only. Specifies the desired number of tasks the execution should
-   * run. Setting to 1 means that parallelism is limited to 1 and the success of
+   * Output only. Specifies the desired number of tasks the execution should run.
+   * Setting to 1 means that parallelism is limited to 1 and the success of
    * that task signals the success of the execution.
    * More info:
    * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    * 
* * int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The taskCount. */ @java.lang.Override @@ -903,16 +778,11 @@ public int getTaskCount() { public static final int TEMPLATE_FIELD_NUMBER = 15; private com.google.cloud.run.v2.TaskTemplate template_; /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the template field is set. */ @java.lang.Override @@ -920,34 +790,23 @@ public boolean hasTemplate() { return template_ != null; } /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The template. */ @java.lang.Override public com.google.cloud.run.v2.TaskTemplate getTemplate() { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { @@ -957,16 +816,13 @@ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { public static final int RECONCILING_FIELD_NUMBER = 16; private boolean reconciling_; /** - * - * *
-   * Output only. Indicates whether the resource's reconciliation is still in
-   * progress. See comments in `Job.reconciling` for additional information on
+   * Output only. Indicates whether the resource's reconciliation is still in progress.
+   * See comments in `Job.reconciling` for additional information on
    * reconciliation process in Cloud Run.
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -977,105 +833,77 @@ public boolean getReconciling() { public static final int CONDITIONS_FIELD_NUMBER = 17; private java.util.List conditions_; /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.Condition getConditions(int index) { return conditions_.get(index); } /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int OBSERVED_GENERATION_FIELD_NUMBER = 18; private long observedGeneration_; /** - * - * *
-   * Output only. The generation of this Execution. See comments in
-   * `reconciling` for additional information on reconciliation process in Cloud
-   * Run.
+   * Output only. The generation of this Execution. See comments in `reconciling` for
+   * additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -1086,14 +914,11 @@ public long getObservedGeneration() { public static final int RUNNING_COUNT_FIELD_NUMBER = 19; private int runningCount_; /** - * - * *
    * Output only. The number of actively running tasks.
    * 
* * int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The runningCount. */ @java.lang.Override @@ -1104,14 +929,11 @@ public int getRunningCount() { public static final int SUCCEEDED_COUNT_FIELD_NUMBER = 20; private int succeededCount_; /** - * - * *
    * Output only. The number of tasks which reached phase Succeeded.
    * 
* * int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The succeededCount. */ @java.lang.Override @@ -1122,14 +944,11 @@ public int getSucceededCount() { public static final int FAILED_COUNT_FIELD_NUMBER = 21; private int failedCount_; /** - * - * *
    * Output only. The number of tasks which reached phase Failed.
    * 
* * int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failedCount. */ @java.lang.Override @@ -1140,15 +959,12 @@ public int getFailedCount() { public static final int ETAG_FIELD_NUMBER = 99; private volatile java.lang.Object etag_; /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ @java.lang.Override @@ -1157,30 +973,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1189,7 +1005,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1201,7 +1016,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_); } @@ -1211,10 +1027,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (generation_ != 0L) { output.writeInt64(3, generation_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -1285,78 +1109,95 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, annotations__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (completionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompletionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompletionTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getExpireTime()); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, launchStage_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(11, launchStage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, job_); } if (parallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, parallelism_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, parallelism_); } if (taskCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, taskCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, taskCount_); } if (template_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getTemplate()); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(16, reconciling_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, conditions_.get(i)); } if (observedGeneration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(18, observedGeneration_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(18, observedGeneration_); } if (runningCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(19, runningCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(19, runningCount_); } if (succeededCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(20, succeededCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(20, succeededCount_); } if (failedCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(21, failedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(21, failedCount_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); @@ -1369,57 +1210,79 @@ 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.run.v2.Execution)) { return super.equals(obj); } com.google.cloud.run.v2.Execution other = (com.google.cloud.run.v2.Execution) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getGeneration() != other.getGeneration()) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getGeneration() + != other.getGeneration()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCompletionTime() != other.hasCompletionTime()) return false; if (hasCompletionTime()) { - if (!getCompletionTime().equals(other.getCompletionTime())) return false; + if (!getCompletionTime() + .equals(other.getCompletionTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (launchStage_ != other.launchStage_) return false; - if (!getJob().equals(other.getJob())) return false; - if (getParallelism() != other.getParallelism()) return false; - if (getTaskCount() != other.getTaskCount()) return false; + if (!getJob() + .equals(other.getJob())) return false; + if (getParallelism() + != other.getParallelism()) return false; + if (getTaskCount() + != other.getTaskCount()) return false; if (hasTemplate() != other.hasTemplate()) return false; if (hasTemplate()) { - if (!getTemplate().equals(other.getTemplate())) return false; - } - if (getReconciling() != other.getReconciling()) return false; - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getObservedGeneration() != other.getObservedGeneration()) return false; - if (getRunningCount() != other.getRunningCount()) return false; - if (getSucceededCount() != other.getSucceededCount()) return false; - if (getFailedCount() != other.getFailedCount()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; + } + if (getReconciling() + != other.getReconciling()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getObservedGeneration() + != other.getObservedGeneration()) return false; + if (getRunningCount() + != other.getRunningCount()) return false; + if (getSucceededCount() + != other.getSucceededCount()) return false; + if (getFailedCount() + != other.getFailedCount()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1436,7 +1299,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); @@ -1482,13 +1346,15 @@ public int hashCode() { hash = (53 * hash) + getTemplate().hashCode(); } hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (getConditionsCount() > 0) { hash = (37 * hash) + CONDITIONS_FIELD_NUMBER; hash = (53 * hash) + getConditionsList().hashCode(); } hash = (37 * hash) + OBSERVED_GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObservedGeneration()); hash = (37 * hash) + RUNNING_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRunningCount(); hash = (37 * hash) + SUCCEEDED_COUNT_FIELD_NUMBER; @@ -1502,103 +1368,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Execution parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Execution parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Execution 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.run.v2.Execution parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Execution parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Execution 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.run.v2.Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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.run.v2.Execution 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; } /** - * - * *
    * Execution represents the configuration of a single execution. A execution an
    * immutable resource that references a container image which is run to
@@ -1607,56 +1467,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.Execution}
    */
-  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.run.v2.Execution)
       com.google.cloud.run.v2.ExecutionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.ExecutionProto
-          .internal_static_google_cloud_run_v2_Execution_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         case 5:
           return internalGetAnnotations();
         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 internalGetMutableLabels();
         case 5:
           return internalGetMutableAnnotations();
         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.run.v2.ExecutionProto
-          .internal_static_google_cloud_run_v2_Execution_fieldAccessorTable
+      return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.Execution.class,
-              com.google.cloud.run.v2.Execution.Builder.class);
+              com.google.cloud.run.v2.Execution.class, com.google.cloud.run.v2.Execution.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Execution.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1741,9 +1604,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.ExecutionProto
-          .internal_static_google_cloud_run_v2_Execution_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_Execution_descriptor;
     }
 
     @java.lang.Override
@@ -1833,39 +1696,38 @@ public com.google.cloud.run.v2.Execution 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.run.v2.Execution) {
-        return mergeFrom((com.google.cloud.run.v2.Execution) other);
+        return mergeFrom((com.google.cloud.run.v2.Execution)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1885,8 +1747,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.Execution other) {
       if (other.getGeneration() != 0L) {
         setGeneration(other.getGeneration());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1942,10 +1806,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Execution other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -1993,168 +1856,155 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                generation_ = input.readInt64();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getCompletionTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            case 88:
-              {
-                launchStage_ = input.readEnum();
-
-                break;
-              } // case 88
-            case 98:
-              {
-                job_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 104:
-              {
-                parallelism_ = input.readInt32();
-
-                break;
-              } // case 104
-            case 112:
-              {
-                taskCount_ = input.readInt32();
-
-                break;
-              } // case 112
-            case 122:
-              {
-                input.readMessage(getTemplateFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            case 128:
-              {
-                reconciling_ = input.readBool();
-
-                break;
-              } // case 128
-            case 138:
-              {
-                com.google.cloud.run.v2.Condition m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Condition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 138
-            case 144:
-              {
-                observedGeneration_ = input.readInt64();
-
-                break;
-              } // case 144
-            case 152:
-              {
-                runningCount_ = input.readInt32();
-
-                break;
-              } // case 152
-            case 160:
-              {
-                succeededCount_ = input.readInt32();
-
-                break;
-              } // case 160
-            case 168:
-              {
-                failedCount_ = input.readInt32();
-
-                break;
-              } // case 168
-            case 178:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 794:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 794
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              generation_ = input.readInt64();
+
+              break;
+            } // case 24
+            case 34: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getCompletionTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 82
+            case 88: {
+              launchStage_ = input.readEnum();
+
+              break;
+            } // case 88
+            case 98: {
+              job_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 104: {
+              parallelism_ = input.readInt32();
+
+              break;
+            } // case 104
+            case 112: {
+              taskCount_ = input.readInt32();
+
+              break;
+            } // case 112
+            case 122: {
+              input.readMessage(
+                  getTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            case 128: {
+              reconciling_ = input.readBool();
+
+              break;
+            } // case 128
+            case 138: {
+              com.google.cloud.run.v2.Condition m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Condition.parser(),
+                      extensionRegistry);
+              if (conditionsBuilder_ == null) {
+                ensureConditionsIsMutable();
+                conditions_.add(m);
+              } else {
+                conditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 138
+            case 144: {
+              observedGeneration_ = input.readInt64();
+
+              break;
+            } // case 144
+            case 152: {
+              runningCount_ = input.readInt32();
+
+              break;
+            } // case 152
+            case 160: {
+              succeededCount_ = input.readInt32();
+
+              break;
+            } // case 160
+            case 168: {
+              failedCount_ = input.readInt32();
+
+              break;
+            } // case 168
+            case 178: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 178
+            case 794: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 794
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2164,25 +2014,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The unique name of this Execution.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2191,21 +2038,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The unique name of this Execution.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -2213,61 +2059,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The unique name of this Execution.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } /** - * - * *
      * Output only. The unique name of this Execution.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The unique name of this Execution.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2275,22 +2114,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -2299,23 +2135,21 @@ public java.lang.String getUid() { } } /** - * - * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -2323,83 +2157,70 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
-     * Output only. Server assigned unique identifier for the Execution. The value
-     * is a UUID4 string and guaranteed to remain unchanged until the resource is
-     * deleted.
+     * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+     * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -2407,58 +2228,53 @@ public long getGeneration() { return generation_; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2470,8 +2286,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2486,22 +2300,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 4;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2517,12 +2331,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2538,17 +2351,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2564,11 +2376,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2576,12 +2389,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2596,21 +2408,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2625,20 +2439,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        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");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2653,29 +2466,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField annotations_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> annotations_;
     private com.google.protobuf.MapField
-        internalGetAnnotations() {
+    internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAnnotations() {
-      onChanged();
-      ;
+    internalGetMutableAnnotations() {
+      onChanged();;
       if (annotations_ == null) {
-        annotations_ =
-            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ = com.google.protobuf.MapField.newMapField(
+            AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -2687,30 +2501,28 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -2718,12 +2530,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -2731,17 +2542,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -2749,11 +2559,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2761,124 +2572,108 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAnnotations( + 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"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2894,19 +2689,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2917,23 +2709,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2945,17 +2733,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2969,70 +2753,54 @@ public Builder clearCreateTime() { return this; } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
-     * Output only. Represents time when the execution was acknowledged by the
-     * execution controller. It is not guaranteed to be set in happens-before
-     * order across separate operations.
+     * Output only. Represents time when the execution was acknowledged by the execution
+     * controller. It is not guaranteed to be set in happens-before order across
+     * separate operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3040,41 +2808,28 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -3085,17 +2840,13 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -3111,19 +2862,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -3134,23 +2882,19 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -3162,17 +2906,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -3186,68 +2926,54 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Represents time when the execution started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -3255,61 +2981,42 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp completionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - completionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> completionTimeBuilder_; /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ public boolean hasCompletionTime() { return completionTimeBuilder_ != null || completionTime_ != null; } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ public com.google.protobuf.Timestamp getCompletionTime() { if (completionTimeBuilder_ == null) { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } else { return completionTimeBuilder_.getMessage(); } } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { if (completionTimeBuilder_ == null) { @@ -3325,18 +3032,15 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCompletionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (completionTimeBuilder_ == null) { completionTime_ = builderForValue.build(); onChanged(); @@ -3347,24 +3051,18 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { if (completionTimeBuilder_ == null) { if (completionTime_ != null) { completionTime_ = - com.google.protobuf.Timestamp.newBuilder(completionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(completionTime_).mergeFrom(value).buildPartial(); } else { completionTime_ = value; } @@ -3376,16 +3074,12 @@ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCompletionTime() { if (completionTimeBuilder_ == null) { @@ -3399,67 +3093,51 @@ public Builder clearCompletionTime() { return this; } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder() { - + onChanged(); return getCompletionTimeFieldBuilder().getBuilder(); } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { if (completionTimeBuilder_ != null) { return completionTimeBuilder_.getMessageOrBuilder(); } else { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } } /** - * - * *
-     * Output only. Represents time when the execution was completed. It is not
-     * guaranteed to be set in happens-before order across separate operations.
+     * Output only. Represents time when the execution was completed. It is not guaranteed to
+     * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCompletionTimeFieldBuilder() { if (completionTimeBuilder_ == null) { - completionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCompletionTime(), getParentForChildren(), isClean()); + completionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCompletionTime(), + getParentForChildren(), + isClean()); completionTime_ = null; } return completionTimeBuilder_; @@ -3467,58 +3145,39 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3534,17 +3193,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3555,21 +3211,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3581,15 +3233,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3603,64 +3251,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3668,61 +3300,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3738,18 +3351,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -3760,22 +3370,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -3787,16 +3393,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -3810,67 +3412,51 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - + onChanged(); return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -3878,64 +3464,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3951,19 +3518,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -3974,23 +3538,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -4002,17 +3562,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -4026,70 +3582,54 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -4097,8 +3637,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int launchStage_ = 0; /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4107,16 +3645,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4125,19 +3659,16 @@ public int getLaunchStageValue() {
      * 
* * .google.api.LaunchStage launch_stage = 11; - * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4146,7 +3677,6 @@ public Builder setLaunchStageValue(int value) {
      * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The launchStage. */ @java.lang.Override @@ -4156,8 +3686,6 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4166,7 +3694,6 @@ public com.google.api.LaunchStage getLaunchStage() {
      * 
* * .google.api.LaunchStage launch_stage = 11; - * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -4174,14 +3701,12 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4190,11 +3715,10 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) {
      * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 0; onChanged(); return this; @@ -4202,22 +3726,18 @@ public Builder clearLaunchStage() { private java.lang.Object job_ = ""; /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ public java.lang.String getJob() { java.lang.Object ref = job_; 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(); job_ = s; return s; @@ -4226,23 +3746,20 @@ public java.lang.String getJob() { } } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ - public com.google.protobuf.ByteString getJobBytes() { + public com.google.protobuf.ByteString + getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -4250,79 +3767,64 @@ public com.google.protobuf.ByteString getJobBytes() { } } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The job to set. * @return This builder for chaining. */ - public Builder setJob(java.lang.String value) { + public Builder setJob( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + job_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearJob() { - + job_ = getDefaultInstance().getJob(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for job to set. * @return This builder for chaining. */ - public Builder setJobBytes(com.google.protobuf.ByteString value) { + public Builder setJobBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + job_ = value; onChanged(); return this; } - private int parallelism_; + private int parallelism_ ; /** - * - * *
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4330,7 +3832,6 @@ public Builder setJobBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parallelism. */ @java.lang.Override @@ -4338,11 +3839,9 @@ public int getParallelism() { return parallelism_; } /** - * - * *
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4350,22 +3849,19 @@ public int getParallelism() {
      * 
* * int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The parallelism to set. * @return This builder for chaining. */ public Builder setParallelism(int value) { - + parallelism_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Specifies the maximum desired number of tasks the execution
-     * should run at any given time. Must be <= task_count. The actual number of
+     * Output only. Specifies the maximum desired number of tasks the execution should
+     * run at any given time. Must be <= task_count. The actual number of
      * tasks running in steady state will be less than this number when
      * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
      * the work left to do is less than max parallelism. More info:
@@ -4373,30 +3869,26 @@ public Builder setParallelism(int value) {
      * 
* * int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearParallelism() { - + parallelism_ = 0; onChanged(); return this; } - private int taskCount_; + private int taskCount_ ; /** - * - * *
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
      * 
* * int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The taskCount. */ @java.lang.Override @@ -4404,44 +3896,38 @@ public int getTaskCount() { return taskCount_; } /** - * - * *
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
      * 
* * int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The taskCount to set. * @return This builder for chaining. */ public Builder setTaskCount(int value) { - + taskCount_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Specifies the desired number of tasks the execution should
-     * run. Setting to 1 means that parallelism is limited to 1 and the success of
+     * Output only. Specifies the desired number of tasks the execution should run.
+     * Setting to 1 means that parallelism is limited to 1 and the success of
      * that task signals the success of the execution.
      * More info:
      * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
      * 
* * int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearTaskCount() { - + taskCount_ = 0; onChanged(); return this; @@ -4449,58 +3935,39 @@ public Builder clearTaskCount() { private com.google.cloud.run.v2.TaskTemplate template_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder> - templateBuilder_; + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder> templateBuilder_; /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The template. */ public com.google.cloud.run.v2.TaskTemplate getTemplate() { if (templateBuilder_ == null) { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } else { return templateBuilder_.getMessage(); } } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate value) { if (templateBuilder_ == null) { @@ -4516,17 +3983,14 @@ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate value) { return this; } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate.Builder builderForValue) { + public Builder setTemplate( + com.google.cloud.run.v2.TaskTemplate.Builder builderForValue) { if (templateBuilder_ == null) { template_ = builderForValue.build(); onChanged(); @@ -4537,23 +4001,17 @@ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate.Builder builderF return this; } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTemplate(com.google.cloud.run.v2.TaskTemplate value) { if (templateBuilder_ == null) { if (template_ != null) { template_ = - com.google.cloud.run.v2.TaskTemplate.newBuilder(template_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); } else { template_ = value; } @@ -4565,15 +4023,11 @@ public Builder mergeTemplate(com.google.cloud.run.v2.TaskTemplate value) { return this; } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTemplate() { if (templateBuilder_ == null) { @@ -4587,81 +4041,62 @@ public Builder clearTemplate() { return this; } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TaskTemplate.Builder getTemplateBuilder() { - + onChanged(); return getTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { if (templateBuilder_ != null) { return templateBuilder_.getMessageOrBuilder(); } else { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? + com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } } /** - * - * *
      * Output only. The template used to create tasks for this execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder> + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder> getTemplateFieldBuilder() { if (templateBuilder_ == null) { - templateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder>( - getTemplate(), getParentForChildren(), isClean()); + templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder>( + getTemplate(), + getParentForChildren(), + isClean()); template_ = null; } return templateBuilder_; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -4669,73 +4104,58 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. Indicates whether the resource's reconciliation is still in
-     * progress. See comments in `Job.reconciling` for additional information on
+     * Output only. Indicates whether the resource's reconciliation is still in progress.
+     * See comments in `Job.reconciling` for additional information on
      * reconciliation process in Cloud Run.
      * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - conditionsBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { @@ -4745,17 +4165,12 @@ public java.util.List getConditionsList() { } } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -4765,17 +4180,12 @@ public int getConditionsCount() { } } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition getConditions(int index) { if (conditionsBuilder_ == null) { @@ -4785,19 +4195,15 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { } } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder setConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4811,17 +4217,12 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -4835,17 +4236,12 @@ public Builder setConditions( return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions(com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { @@ -4861,19 +4257,15 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder addConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4887,19 +4279,15 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder addConditions( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -4910,17 +4298,12 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -4934,23 +4317,19 @@ public Builder addConditions( return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -4958,17 +4337,12 @@ public Builder addAllConditions( return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -4981,17 +4355,12 @@ public Builder clearConditions() { return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -5004,56 +4373,42 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) { + public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -5061,85 +4416,65 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind } } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Condition.getDefaultInstance()); + public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
-     * Output only. The Condition of this Execution, containing its readiness
-     * status, and detailed error information in case it did not reach the desired
-     * state.
+     * Output only. The Condition of this Execution, containing its readiness status, and
+     * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private long observedGeneration_; + private long observedGeneration_ ; /** - * - * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -5147,55 +4482,44 @@ public long getObservedGeneration() { return observedGeneration_; } /** - * - * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The observedGeneration to set. * @return This builder for chaining. */ public Builder setObservedGeneration(long value) { - + observedGeneration_ = value; onChanged(); return this; } /** - * - * *
-     * Output only. The generation of this Execution. See comments in
-     * `reconciling` for additional information on reconciliation process in Cloud
-     * Run.
+     * Output only. The generation of this Execution. See comments in `reconciling` for
+     * additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearObservedGeneration() { - + observedGeneration_ = 0L; onChanged(); return this; } - private int runningCount_; + private int runningCount_ ; /** - * - * *
      * Output only. The number of actively running tasks.
      * 
* * int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The runningCount. */ @java.lang.Override @@ -5203,51 +4527,42 @@ public int getRunningCount() { return runningCount_; } /** - * - * *
      * Output only. The number of actively running tasks.
      * 
* * int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The runningCount to set. * @return This builder for chaining. */ public Builder setRunningCount(int value) { - + runningCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of actively running tasks.
      * 
* * int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRunningCount() { - + runningCount_ = 0; onChanged(); return this; } - private int succeededCount_; + private int succeededCount_ ; /** - * - * *
      * Output only. The number of tasks which reached phase Succeeded.
      * 
* * int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The succeededCount. */ @java.lang.Override @@ -5255,51 +4570,42 @@ public int getSucceededCount() { return succeededCount_; } /** - * - * *
      * Output only. The number of tasks which reached phase Succeeded.
      * 
* * int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The succeededCount to set. * @return This builder for chaining. */ public Builder setSucceededCount(int value) { - + succeededCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks which reached phase Succeeded.
      * 
* * int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSucceededCount() { - + succeededCount_ = 0; onChanged(); return this; } - private int failedCount_; + private int failedCount_ ; /** - * - * *
      * Output only. The number of tasks which reached phase Failed.
      * 
* * int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failedCount. */ @java.lang.Override @@ -5307,36 +4613,30 @@ public int getFailedCount() { return failedCount_; } /** - * - * *
      * Output only. The number of tasks which reached phase Failed.
      * 
* * int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The failedCount to set. * @return This builder for chaining. */ public Builder setFailedCount(int value) { - + failedCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of tasks which reached phase Failed.
      * 
* * int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFailedCount() { - + failedCount_ = 0; onChanged(); return this; @@ -5344,21 +4644,19 @@ public Builder clearFailedCount() { private java.lang.Object etag_ = ""; /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -5367,22 +4665,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -5390,71 +4687,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -5464,12 +4754,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Execution) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Execution) private static final com.google.cloud.run.v2.Execution DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Execution(); } @@ -5478,27 +4768,27 @@ public static com.google.cloud.run.v2.Execution getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Execution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5513,4 +4803,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java index f2d527313733..cbf17235ef60 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionEnvironment.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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; /** - * - * *
  * Alternatives for execution environments.
  * 
* * Protobuf enum {@code google.cloud.run.v2.ExecutionEnvironment} */ -public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageEnum { +public enum ExecutionEnvironment + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified
    * 
@@ -39,8 +21,6 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE */ EXECUTION_ENVIRONMENT_UNSPECIFIED(0), /** - * - * *
    * Uses the First Generation environment.
    * 
@@ -49,8 +29,6 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE */ EXECUTION_ENVIRONMENT_GEN1(1), /** - * - * *
    * Uses Second Generation environment.
    * 
@@ -62,8 +40,6 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
    * Unspecified
    * 
@@ -72,8 +48,6 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE */ public static final int EXECUTION_ENVIRONMENT_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Uses the First Generation environment.
    * 
@@ -82,8 +56,6 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE */ public static final int EXECUTION_ENVIRONMENT_GEN1_VALUE = 1; /** - * - * *
    * Uses Second Generation environment.
    * 
@@ -92,6 +64,7 @@ public enum ExecutionEnvironment implements com.google.protobuf.ProtocolMessageE */ public static final int EXECUTION_ENVIRONMENT_GEN2_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,14 +89,10 @@ public static ExecutionEnvironment valueOf(int value) { */ public static ExecutionEnvironment forNumber(int value) { switch (value) { - case 0: - return EXECUTION_ENVIRONMENT_UNSPECIFIED; - case 1: - return EXECUTION_ENVIRONMENT_GEN1; - case 2: - return EXECUTION_ENVIRONMENT_GEN2; - default: - return null; + case 0: return EXECUTION_ENVIRONMENT_UNSPECIFIED; + case 1: return EXECUTION_ENVIRONMENT_GEN1; + case 2: return EXECUTION_ENVIRONMENT_GEN2; + default: return null; } } @@ -131,28 +100,28 @@ public static ExecutionEnvironment forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionEnvironment findValueByNumber(int number) { - return ExecutionEnvironment.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ExecutionEnvironment> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExecutionEnvironment findValueByNumber(int number) { + return ExecutionEnvironment.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.run.v2.VendorSettingsProto.getDescriptor().getEnumTypes().get(1); } @@ -161,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ExecutionEnvironment 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; @@ -177,3 +147,4 @@ private ExecutionEnvironment(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.run.v2.ExecutionEnvironment) } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java index 1523d7e9308a..ee30b166828f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionOrBuilder.java @@ -1,99 +1,66 @@ -/* - * 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/run/v2/execution.proto package com.google.cloud.run.v2; -public interface ExecutionOrBuilder - extends +public interface ExecutionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Execution) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The unique name of this Execution.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The unique name of this Execution.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
-   * Output only. Server assigned unique identifier for the Execution. The value
-   * is a UUID4 string and guaranteed to remain unchanged until the resource is
-   * deleted.
+   * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
+   * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ long getGeneration(); /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -110,8 +77,6 @@ public interface ExecutionOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -126,13 +91,15 @@ public interface ExecutionOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -147,10 +114,9 @@ public interface ExecutionOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -167,13 +133,11 @@ public interface ExecutionOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -188,11 +152,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
@@ -201,31 +165,30 @@ java.lang.String getLabelsOrDefault( */ int getAnnotationsCount(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -234,279 +197,208 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
-   * Output only. Represents time when the execution was acknowledged by the
-   * execution controller. It is not guaranteed to be set in happens-before
-   * order across separate operations.
+   * Output only. Represents time when the execution was acknowledged by the execution
+   * controller. It is not guaranteed to be set in happens-before order across
+   * separate operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Represents time when the execution started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ boolean hasCompletionTime(); /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ com.google.protobuf.Timestamp getCompletionTime(); /** - * - * *
-   * Output only. Represents time when the execution was completed. It is not
-   * guaranteed to be set in happens-before order across separate operations.
+   * Output only. Represents time when the execution was completed. It is not guaranteed to
+   * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -515,13 +407,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -530,46 +419,34 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 11; - * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ java.lang.String getJob(); /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ - com.google.protobuf.ByteString getJobBytes(); + com.google.protobuf.ByteString + getJobBytes(); /** - * - * *
-   * Output only. Specifies the maximum desired number of tasks the execution
-   * should run at any given time. Must be <= task_count. The actual number of
+   * Output only. Specifies the maximum desired number of tasks the execution should
+   * run at any given time. Must be <= task_count. The actual number of
    * tasks running in steady state will be less than this number when
    * ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when
    * the work left to do is less than max parallelism. More info:
@@ -577,233 +454,172 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The parallelism. */ int getParallelism(); /** - * - * *
-   * Output only. Specifies the desired number of tasks the execution should
-   * run. Setting to 1 means that parallelism is limited to 1 and the success of
+   * Output only. Specifies the desired number of tasks the execution should run.
+   * Setting to 1 means that parallelism is limited to 1 and the success of
    * that task signals the success of the execution.
    * More info:
    * https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
    * 
* * int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The taskCount. */ int getTaskCount(); /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the template field is set. */ boolean hasTemplate(); /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The template. */ com.google.cloud.run.v2.TaskTemplate getTemplate(); /** - * - * *
    * Output only. The template used to create tasks for this execution.
    * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder(); /** - * - * *
-   * Output only. Indicates whether the resource's reconciliation is still in
-   * progress. See comments in `Job.reconciling` for additional information on
+   * Output only. Indicates whether the resource's reconciliation is still in progress.
+   * See comments in `Job.reconciling` for additional information on
    * reconciliation process in Cloud Run.
    * 
* * bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.Condition getConditions(int index); /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getConditionsCount(); /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsOrBuilderList(); + java.util.List + getConditionsOrBuilderList(); /** - * - * *
-   * Output only. The Condition of this Execution, containing its readiness
-   * status, and detailed error information in case it did not reach the desired
-   * state.
+   * Output only. The Condition of this Execution, containing its readiness status, and
+   * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
-   * Output only. The generation of this Execution. See comments in
-   * `reconciling` for additional information on reconciliation process in Cloud
-   * Run.
+   * Output only. The generation of this Execution. See comments in `reconciling` for
+   * additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ long getObservedGeneration(); /** - * - * *
    * Output only. The number of actively running tasks.
    * 
* * int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The runningCount. */ int getRunningCount(); /** - * - * *
    * Output only. The number of tasks which reached phase Succeeded.
    * 
* * int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The succeededCount. */ int getSucceededCount(); /** - * - * *
    * Output only. The number of tasks which reached phase Failed.
    * 
* * int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failedCount. */ int getFailedCount(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java new file mode 100644 index 000000000000..131dc5f84903 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionProto.java @@ -0,0 +1,209 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/execution.proto + +package com.google.cloud.run.v2; + +public final class ExecutionProto { + private ExecutionProto() {} + 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_run_v2_GetExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Execution_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Execution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Execution_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_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/run/v2/execution.proto\022\023g" + + "oogle.cloud.run.v2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032\037googl" + + "e/api/field_behavior.proto\032\035google/api/l" + + "aunch_stage.proto\032\031google/api/resource.p" + + "roto\032#google/cloud/run/v2/condition.prot" + + "o\032\'google/cloud/run/v2/task_template.pro" + + "to\032#google/longrunning/operations.proto\032" + + "\037google/protobuf/timestamp.proto\"I\n\023GetE" + + "xecutionRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034r" + + "un.googleapis.com/Execution\"\212\001\n\025ListExec" + + "utionsRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\022\034r" + + "un.googleapis.com/Execution\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_delet" + + "ed\030\004 \001(\010\"e\n\026ListExecutionsResponse\0222\n\nex" + + "ecutions\030\001 \003(\0132\036.google.cloud.run.v2.Exe" + + "cution\022\027\n\017next_page_token\030\002 \001(\t\"q\n\026Delet" + + "eExecutionRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n" + + "\034run.googleapis.com/Execution\022\025\n\rvalidat" + + "e_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t\"\214\t\n\tExecution" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\027\n" + + "\ngeneration\030\003 \001(\003B\003\340A\003\022:\n\006labels\030\004 \003(\0132*" + + ".google.cloud.run.v2.Execution.LabelsEnt" + + "ry\022D\n\013annotations\030\005 \003(\0132/.google.cloud.r" + + "un.v2.Execution.AnnotationsEntry\0224\n\013crea" + + "te_time\030\006 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\0223\n\nstart_time\030\026 \001(\0132\032.google.prot" + + "obuf.TimestampB\003\340A\003\0228\n\017completion_time\030\007" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\010 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013delete_time\030\t \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013expire_time" + + "\030\n \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "-\n\014launch_stage\030\013 \001(\0162\027.google.api.Launc" + + "hStage\022+\n\003job\030\014 \001(\tB\036\340A\003\372A\030\n\026run.googlea" + + "pis.com/Job\022\030\n\013parallelism\030\r \001(\005B\003\340A\003\022\027\n" + + "\ntask_count\030\016 \001(\005B\003\340A\003\0228\n\010template\030\017 \001(\013" + + "2!.google.cloud.run.v2.TaskTemplateB\003\340A\003" + + "\022\030\n\013reconciling\030\020 \001(\010B\003\340A\003\0227\n\nconditions" + + "\030\021 \003(\0132\036.google.cloud.run.v2.ConditionB\003" + + "\340A\003\022 \n\023observed_generation\030\022 \001(\003B\003\340A\003\022\032\n" + + "\rrunning_count\030\023 \001(\005B\003\340A\003\022\034\n\017succeeded_c" + + "ount\030\024 \001(\005B\003\340A\003\022\031\n\014failed_count\030\025 \001(\005B\003\340" + + "A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + ":o\352Al\n\034run.googleapis.com/Execution\022Ipro" + + "jects/{project}/locations/{location}/job" + + "s/{job}/executions/{execution}R\001\0012\350\004\n\nEx" + + "ecutions\022\236\001\n\014GetExecution\022(.google.cloud" + + ".run.v2.GetExecutionRequest\032\036.google.clo" + + "ud.run.v2.Execution\"D\202\323\344\223\0027\0225/v2/{name=p" + + "rojects/*/locations/*/jobs/*/executions/" + + "*}\332A\004name\022\261\001\n\016ListExecutions\022*.google.cl" + + "oud.run.v2.ListExecutionsRequest\032+.googl" + + "e.cloud.run.v2.ListExecutionsResponse\"F\202" + + "\323\344\223\0027\0225/v2/{parent=projects/*/locations/" + + "*/jobs/*}/executions\332A\006parent\022\274\001\n\017Delete" + + "Execution\022+.google.cloud.run.v2.DeleteEx" + + "ecutionRequest\032\035.google.longrunning.Oper" + + "ation\"]\202\323\344\223\0027*5/v2/{name=projects/*/loca" + + "tions/*/jobs/*/executions/*}\332A\004name\312A\026\n\t" + + "Execution\022\tExecution\032F\312A\022run.googleapis." + + "com\322A.https://www.googleapis.com/auth/cl" + + "oud-platformBc\n\027com.google.cloud.run.v2B" + + "\016ExecutionProtoP\001Z6google.golang.org/gen" + + "proto/googleapis/cloud/run/v2;runb\006proto" + + "3" + }; + 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.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.run.v2.ConditionProto.getDescriptor(), + com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor, + new java.lang.String[] { "Executions", "NextPageToken", }); + internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_DeleteExecutionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_DeleteExecutionRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "Etag", }); + internal_static_google_cloud_run_v2_Execution_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_Execution_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Execution_descriptor, + new java.lang.String[] { "Name", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "StartTime", "CompletionTime", "UpdateTime", "DeleteTime", "ExpireTime", "LaunchStage", "Job", "Parallelism", "TaskCount", "Template", "Reconciling", "Conditions", "ObservedGeneration", "RunningCount", "SucceededCount", "FailedCount", "Etag", }); + internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_Execution_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_Execution_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Execution_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_Execution_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Execution_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + 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.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.run.v2.ConditionProto.getDescriptor(); + com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java index 8f4c0013e528..17e2fb129535 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReference.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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Reference to an Execution. Use /Executions.GetExecution with the given name
  * to get full execution including the latest status.
@@ -28,57 +11,52 @@
  *
  * Protobuf type {@code google.cloud.run.v2.ExecutionReference}
  */
-public final class ExecutionReference extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecutionReference extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ExecutionReference)
     ExecutionReferenceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecutionReference.newBuilder() to construct.
   private ExecutionReference(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExecutionReference() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecutionReference();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.JobProto
-        .internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.JobProto
-        .internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable
+    return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.ExecutionReference.class,
-            com.google.cloud.run.v2.ExecutionReference.Builder.class);
+            com.google.cloud.run.v2.ExecutionReference.class, com.google.cloud.run.v2.ExecutionReference.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Name of the execution.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ 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; } } /** - * - * *
    * Name of the execution.
    * 
* * string name = 1 [(.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 { @@ -120,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -135,14 +110,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ @java.lang.Override @@ -150,8 +122,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Creation timestamp of the execution.
    * 
@@ -166,14 +136,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int COMPLETION_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp completionTime_; /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return Whether the completionTime field is set. */ @java.lang.Override @@ -181,25 +148,18 @@ public boolean hasCompletionTime() { return completionTime_ != null; } /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return The completionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCompletionTime() { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } /** - * - * *
    * Creation timestamp of the execution.
    * 
@@ -212,7 +172,6 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,7 +183,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_); } @@ -247,10 +207,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCreateTime()); } if (completionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCompletionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCompletionTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -260,22 +222,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.run.v2.ExecutionReference)) { return super.equals(obj); } - com.google.cloud.run.v2.ExecutionReference other = - (com.google.cloud.run.v2.ExecutionReference) obj; + com.google.cloud.run.v2.ExecutionReference other = (com.google.cloud.run.v2.ExecutionReference) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasCompletionTime() != other.hasCompletionTime()) return false; if (hasCompletionTime()) { - if (!getCompletionTime().equals(other.getCompletionTime())) return false; + if (!getCompletionTime() + .equals(other.getCompletionTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -303,104 +267,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ExecutionReference parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ExecutionReference parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionReference 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.run.v2.ExecutionReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionReference 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.run.v2.ExecutionReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionReference 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.run.v2.ExecutionReference 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.run.v2.ExecutionReference 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.run.v2.ExecutionReference parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ExecutionReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ExecutionReference 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.run.v2.ExecutionReference 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.run.v2.ExecutionReference 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.run.v2.ExecutionReference 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; } /** - * - * *
    * Reference to an Execution. Use /Executions.GetExecution with the given name
    * to get full execution including the latest status.
@@ -408,32 +365,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.ExecutionReference}
    */
-  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.run.v2.ExecutionReference)
       com.google.cloud.run.v2.ExecutionReferenceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.JobProto
-          .internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.JobProto
-          .internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable
+      return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.ExecutionReference.class,
-              com.google.cloud.run.v2.ExecutionReference.Builder.class);
+              com.google.cloud.run.v2.ExecutionReference.class, com.google.cloud.run.v2.ExecutionReference.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.ExecutionReference.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -455,9 +413,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.JobProto
-          .internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ExecutionReference_descriptor;
     }
 
     @java.lang.Override
@@ -476,8 +434,7 @@ public com.google.cloud.run.v2.ExecutionReference build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.ExecutionReference buildPartial() {
-      com.google.cloud.run.v2.ExecutionReference result =
-          new com.google.cloud.run.v2.ExecutionReference(this);
+      com.google.cloud.run.v2.ExecutionReference result = new com.google.cloud.run.v2.ExecutionReference(this);
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
         result.createTime_ = createTime_;
@@ -497,39 +454,38 @@ public com.google.cloud.run.v2.ExecutionReference 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.run.v2.ExecutionReference) {
-        return mergeFrom((com.google.cloud.run.v2.ExecutionReference) other);
+        return mergeFrom((com.google.cloud.run.v2.ExecutionReference)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -574,31 +530,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCompletionTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCompletionTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -611,20 +567,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the execution.
      * 
* * string name = 1 [(.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; @@ -633,21 +587,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the execution.
      * 
* * string name = 1 [(.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 { @@ -655,61 +608,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the execution.
      * 
* * string name = 1 [(.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; } /** - * - * *
      * Name of the execution.
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Name of the execution.
      * 
* * string name = 1 [(.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; @@ -717,47 +663,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -778,15 +711,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp create_time = 2; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -797,8 +729,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -809,7 +739,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -821,8 +751,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -841,8 +769,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -850,13 +776,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 2; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -867,14 +791,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -882,17 +803,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 2; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -900,47 +818,34 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp completionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - completionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> completionTimeBuilder_; /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return Whether the completionTime field is set. */ public boolean hasCompletionTime() { return completionTimeBuilder_ != null || completionTime_ != null; } /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return The completionTime. */ public com.google.protobuf.Timestamp getCompletionTime() { if (completionTimeBuilder_ == null) { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } else { return completionTimeBuilder_.getMessage(); } } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -961,15 +866,14 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
* * .google.protobuf.Timestamp completion_time = 3; */ - public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCompletionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (completionTimeBuilder_ == null) { completionTime_ = builderForValue.build(); onChanged(); @@ -980,8 +884,6 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -992,9 +894,7 @@ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { if (completionTimeBuilder_ == null) { if (completionTime_ != null) { completionTime_ = - com.google.protobuf.Timestamp.newBuilder(completionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(completionTime_).mergeFrom(value).buildPartial(); } else { completionTime_ = value; } @@ -1006,8 +906,6 @@ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -1026,8 +924,6 @@ public Builder clearCompletionTime() { return this; } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -1035,13 +931,11 @@ public Builder clearCompletionTime() { * .google.protobuf.Timestamp completion_time = 3; */ public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder() { - + onChanged(); return getCompletionTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -1052,14 +946,11 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { if (completionTimeBuilder_ != null) { return completionTimeBuilder_.getMessageOrBuilder(); } else { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } } /** - * - * *
      * Creation timestamp of the execution.
      * 
@@ -1067,24 +958,21 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { * .google.protobuf.Timestamp completion_time = 3; */ 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> getCompletionTimeFieldBuilder() { if (completionTimeBuilder_ == null) { - completionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCompletionTime(), getParentForChildren(), isClean()); + completionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCompletionTime(), + getParentForChildren(), + isClean()); completionTime_ = null; } return completionTimeBuilder_; } - @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); } @@ -1094,12 +982,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ExecutionReference) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ExecutionReference) private static final com.google.cloud.run.v2.ExecutionReference DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ExecutionReference(); } @@ -1108,27 +996,27 @@ public static com.google.cloud.run.v2.ExecutionReference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,4 +1031,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ExecutionReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java similarity index 71% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java index 76444219807e..5ecdfcb478fd 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionReferenceOrBuilder.java @@ -1,80 +1,51 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; -public interface ExecutionReferenceOrBuilder - extends +public interface ExecutionReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ExecutionReference) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the execution.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the execution.
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp create_time = 2; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Creation timestamp of the execution.
    * 
@@ -84,32 +55,24 @@ public interface ExecutionReferenceOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return Whether the completionTime field is set. */ boolean hasCompletionTime(); /** - * - * *
    * Creation timestamp of the execution.
    * 
* * .google.protobuf.Timestamp completion_time = 3; - * * @return The completionTime. */ com.google.protobuf.Timestamp getCompletionTime(); /** - * - * *
    * Creation timestamp of the execution.
    * 
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java index fa810b68a8a4..03979e03d0fc 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplate.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/run/v2/execution_template.proto package com.google.cloud.run.v2; /** - * - * *
  * ExecutionTemplate describes the data an execution should have when created
  * from a template.
@@ -28,75 +11,76 @@
  *
  * Protobuf type {@code google.cloud.run.v2.ExecutionTemplate}
  */
-public final class ExecutionTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExecutionTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ExecutionTemplate)
     ExecutionTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExecutionTemplate.newBuilder() to construct.
   private ExecutionTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ExecutionTemplate() {}
+  private ExecutionTemplate() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExecutionTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.ExecutionTemplateProto
-        .internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_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 1:
         return internalGetLabels();
       case 2:
         return internalGetAnnotations();
       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.run.v2.ExecutionTemplateProto
-        .internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable
+    return com.google.cloud.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.ExecutionTemplate.class,
-            com.google.cloud.run.v2.ExecutionTemplate.Builder.class);
+            com.google.cloud.run.v2.ExecutionTemplate.class, com.google.cloud.run.v2.ExecutionTemplate.Builder.class);
   }
 
   public static final int LABELS_FIELD_NUMBER = 1;
-
   private static final class LabelsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.ExecutionTemplateProto
-                .internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_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.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField labels_;
-
-  private com.google.protobuf.MapField internalGetLabels() {
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> labels_;
+  private com.google.protobuf.MapField
+  internalGetLabels() {
     if (labels_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          LabelsDefaultEntryHolder.defaultEntry);
     }
     return labels_;
   }
@@ -105,30 +89,28 @@ public int getLabelsCount() {
     return internalGetLabels().getMap().size();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -136,12 +118,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -149,16 +130,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -166,11 +147,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -178,24 +160,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 2; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.ExecutionTemplateProto - .internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_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.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -204,30 +186,28 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 2; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -235,12 +215,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 2; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -248,17 +227,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 2; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -266,11 +244,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 2; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -280,8 +259,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int PARALLELISM_FIELD_NUMBER = 3; private int parallelism_; /** - * - * *
    * Specifies the maximum desired number of tasks the execution should run at
    * given time. Must be <= task_count.
@@ -293,7 +270,6 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
    * 
* * int32 parallelism = 3; - * * @return The parallelism. */ @java.lang.Override @@ -304,8 +280,6 @@ public int getParallelism() { public static final int TASK_COUNT_FIELD_NUMBER = 4; private int taskCount_; /** - * - * *
    * Specifies the desired number of tasks the execution should run.
    * Setting to 1 means that parallelism is limited to 1 and the success of
@@ -315,7 +289,6 @@ public int getParallelism() {
    * 
* * int32 task_count = 4; - * * @return The taskCount. */ @java.lang.Override @@ -326,15 +299,11 @@ public int getTaskCount() { public static final int TEMPLATE_FIELD_NUMBER = 5; private com.google.cloud.run.v2.TaskTemplate template_; /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ @java.lang.Override @@ -342,32 +311,23 @@ public boolean hasTemplate() { return template_ != null; } /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ @java.lang.Override public com.google.cloud.run.v2.TaskTemplate getTemplate() { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { @@ -375,7 +335,6 @@ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,11 +346,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 1); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 2); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 1); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 2); if (parallelism_ != 0) { output.writeInt32(3, parallelism_); } @@ -410,34 +378,37 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, annotations__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, annotations__); } if (parallelism_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, parallelism_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, parallelism_); } if (taskCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, taskCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, taskCount_); } if (template_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getTemplate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -447,21 +418,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.run.v2.ExecutionTemplate)) { return super.equals(obj); } - com.google.cloud.run.v2.ExecutionTemplate other = - (com.google.cloud.run.v2.ExecutionTemplate) obj; + com.google.cloud.run.v2.ExecutionTemplate other = (com.google.cloud.run.v2.ExecutionTemplate) obj; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; - if (getParallelism() != other.getParallelism()) return false; - if (getTaskCount() != other.getTaskCount()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; + if (getParallelism() + != other.getParallelism()) return false; + if (getTaskCount() + != other.getTaskCount()) return false; if (hasTemplate() != other.hasTemplate()) return false; if (hasTemplate()) { - if (!getTemplate().equals(other.getTemplate())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -495,104 +470,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ExecutionTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ExecutionTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ExecutionTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate 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; } /** - * - * *
    * ExecutionTemplate describes the data an execution should have when created
    * from a template.
@@ -600,56 +568,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.ExecutionTemplate}
    */
-  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.run.v2.ExecutionTemplate)
       com.google.cloud.run.v2.ExecutionTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.ExecutionTemplateProto
-          .internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 1:
           return internalGetLabels();
         case 2:
           return internalGetAnnotations();
         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 1:
           return internalGetMutableLabels();
         case 2:
           return internalGetMutableAnnotations();
         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.run.v2.ExecutionTemplateProto
-          .internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable
+      return com.google.cloud.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.ExecutionTemplate.class,
-              com.google.cloud.run.v2.ExecutionTemplate.Builder.class);
+              com.google.cloud.run.v2.ExecutionTemplate.class, com.google.cloud.run.v2.ExecutionTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.ExecutionTemplate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -669,9 +640,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.ExecutionTemplateProto
-          .internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.ExecutionTemplateProto.internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -690,8 +661,7 @@ public com.google.cloud.run.v2.ExecutionTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.ExecutionTemplate buildPartial() {
-      com.google.cloud.run.v2.ExecutionTemplate result =
-          new com.google.cloud.run.v2.ExecutionTemplate(this);
+      com.google.cloud.run.v2.ExecutionTemplate result = new com.google.cloud.run.v2.ExecutionTemplate(this);
       int from_bitField0_ = bitField0_;
       result.labels_ = internalGetLabels();
       result.labels_.makeImmutable();
@@ -712,39 +682,38 @@ public com.google.cloud.run.v2.ExecutionTemplate 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.run.v2.ExecutionTemplate) {
-        return mergeFrom((com.google.cloud.run.v2.ExecutionTemplate) other);
+        return mergeFrom((com.google.cloud.run.v2.ExecutionTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -753,8 +722,10 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.cloud.run.v2.ExecutionTemplate other) {
       if (other == com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance()) return this;
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.getParallelism() != 0) {
         setParallelism(other.getParallelism());
       }
@@ -790,53 +761,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 18
-            case 24:
-              {
-                parallelism_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                taskCount_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getTemplateFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              break;
+            } // case 18
+            case 24: {
+              parallelism_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              taskCount_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -846,24 +809,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private com.google.protobuf.MapField labels_;
-
-    private com.google.protobuf.MapField internalGetLabels() {
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> labels_;
+    private com.google.protobuf.MapField
+    internalGetLabels() {
       if (labels_ == null) {
-        return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry);
+        return com.google.protobuf.MapField.emptyMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       return labels_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableLabels() {
-      onChanged();
-      ;
+    internalGetMutableLabels() {
+      onChanged();;
       if (labels_ == null) {
-        labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+        labels_ = com.google.protobuf.MapField.newMapField(
+            LabelsDefaultEntryHolder.defaultEntry);
       }
       if (!labels_.isMutable()) {
         labels_ = labels_.copy();
@@ -875,30 +838,28 @@ public int getLabelsCount() {
       return internalGetLabels().getMap().size();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 1; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -906,12 +867,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 1; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -919,17 +879,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 1; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -937,11 +896,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 1; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -949,82 +909,83 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 1; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 1; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + 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"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 1; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1036,30 +997,28 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 2; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1067,12 +1026,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 2; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1080,17 +1038,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 2; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1098,11 +1055,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 2; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1110,68 +1068,69 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 2; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 2; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAnnotations( + 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"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 2; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); return this; } - private int parallelism_; + private int parallelism_ ; /** - * - * *
      * Specifies the maximum desired number of tasks the execution should run at
      * given time. Must be <= task_count.
@@ -1183,7 +1142,6 @@ public Builder putAllAnnotations(java.util.Map
      *
      * int32 parallelism = 3;
-     *
      * @return The parallelism.
      */
     @java.lang.Override
@@ -1191,8 +1149,6 @@ public int getParallelism() {
       return parallelism_;
     }
     /**
-     *
-     *
      * 
      * Specifies the maximum desired number of tasks the execution should run at
      * given time. Must be <= task_count.
@@ -1204,19 +1160,16 @@ public int getParallelism() {
      * 
* * int32 parallelism = 3; - * * @param value The parallelism to set. * @return This builder for chaining. */ public Builder setParallelism(int value) { - + parallelism_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the maximum desired number of tasks the execution should run at
      * given time. Must be <= task_count.
@@ -1228,20 +1181,17 @@ public Builder setParallelism(int value) {
      * 
* * int32 parallelism = 3; - * * @return This builder for chaining. */ public Builder clearParallelism() { - + parallelism_ = 0; onChanged(); return this; } - private int taskCount_; + private int taskCount_ ; /** - * - * *
      * Specifies the desired number of tasks the execution should run.
      * Setting to 1 means that parallelism is limited to 1 and the success of
@@ -1251,7 +1201,6 @@ public Builder clearParallelism() {
      * 
* * int32 task_count = 4; - * * @return The taskCount. */ @java.lang.Override @@ -1259,8 +1208,6 @@ public int getTaskCount() { return taskCount_; } /** - * - * *
      * Specifies the desired number of tasks the execution should run.
      * Setting to 1 means that parallelism is limited to 1 and the success of
@@ -1270,19 +1217,16 @@ public int getTaskCount() {
      * 
* * int32 task_count = 4; - * * @param value The taskCount to set. * @return This builder for chaining. */ public Builder setTaskCount(int value) { - + taskCount_ = value; onChanged(); return this; } /** - * - * *
      * Specifies the desired number of tasks the execution should run.
      * Setting to 1 means that parallelism is limited to 1 and the success of
@@ -1292,11 +1236,10 @@ public Builder setTaskCount(int value) {
      * 
* * int32 task_count = 4; - * * @return This builder for chaining. */ public Builder clearTaskCount() { - + taskCount_ = 0; onChanged(); return this; @@ -1304,58 +1247,39 @@ public Builder clearTaskCount() { private com.google.cloud.run.v2.TaskTemplate template_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder> - templateBuilder_; + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder> templateBuilder_; /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ public com.google.cloud.run.v2.TaskTemplate getTemplate() { if (templateBuilder_ == null) { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } else { return templateBuilder_.getMessage(); } } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate value) { if (templateBuilder_ == null) { @@ -1371,17 +1295,14 @@ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate value) { return this; } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate.Builder builderForValue) { + public Builder setTemplate( + com.google.cloud.run.v2.TaskTemplate.Builder builderForValue) { if (templateBuilder_ == null) { template_ = builderForValue.build(); onChanged(); @@ -1392,23 +1313,17 @@ public Builder setTemplate(com.google.cloud.run.v2.TaskTemplate.Builder builderF return this; } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTemplate(com.google.cloud.run.v2.TaskTemplate value) { if (templateBuilder_ == null) { if (template_ != null) { template_ = - com.google.cloud.run.v2.TaskTemplate.newBuilder(template_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.TaskTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); } else { template_ = value; } @@ -1420,15 +1335,11 @@ public Builder mergeTemplate(com.google.cloud.run.v2.TaskTemplate value) { return this; } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTemplate() { if (templateBuilder_ == null) { @@ -1442,71 +1353,55 @@ public Builder clearTemplate() { return this; } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.TaskTemplate.Builder getTemplateBuilder() { - + onChanged(); return getTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder() { if (templateBuilder_ != null) { return templateBuilder_.getMessageOrBuilder(); } else { - return template_ == null - ? com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() - : template_; + return template_ == null ? + com.google.cloud.run.v2.TaskTemplate.getDefaultInstance() : template_; } } /** - * - * *
      * Required. Describes the task(s) that will be created when executing an execution.
      * 
* - * - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder> + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder> getTemplateFieldBuilder() { if (templateBuilder_ == null) { - templateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskTemplate, - com.google.cloud.run.v2.TaskTemplate.Builder, - com.google.cloud.run.v2.TaskTemplateOrBuilder>( - getTemplate(), getParentForChildren(), isClean()); + templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.TaskTemplate, com.google.cloud.run.v2.TaskTemplate.Builder, com.google.cloud.run.v2.TaskTemplateOrBuilder>( + getTemplate(), + getParentForChildren(), + isClean()); template_ = null; } return templateBuilder_; } - @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); } @@ -1516,12 +1411,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ExecutionTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ExecutionTemplate) private static final com.google.cloud.run.v2.ExecutionTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ExecutionTemplate(); } @@ -1530,27 +1425,27 @@ public static com.google.cloud.run.v2.ExecutionTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExecutionTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExecutionTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1565,4 +1460,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ExecutionTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java index 3a77bccf3a86..192cda995deb 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateOrBuilder.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/run/v2/execution_template.proto package com.google.cloud.run.v2; -public interface ExecutionTemplateOrBuilder - extends +public interface ExecutionTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ExecutionTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -34,31 +16,30 @@ public interface ExecutionTemplateOrBuilder */ int getLabelsCount(); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 1; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 1; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -67,24 +48,22 @@ public interface ExecutionTemplateOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 1; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -93,31 +72,30 @@ java.lang.String getLabelsOrDefault( */ int getAnnotationsCount(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 2; */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 2; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -126,24 +104,22 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 2; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Specifies the maximum desired number of tasks the execution should run at
    * given time. Must be <= task_count.
@@ -155,14 +131,11 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * int32 parallelism = 3; - * * @return The parallelism. */ int getParallelism(); /** - * - * *
    * Specifies the desired number of tasks the execution should run.
    * Setting to 1 means that parallelism is limited to 1 and the success of
@@ -172,46 +145,34 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * int32 task_count = 4; - * * @return The taskCount. */ int getTaskCount(); /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ boolean hasTemplate(); /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ com.google.cloud.run.v2.TaskTemplate getTemplate(); /** - * - * *
    * Required. Describes the task(s) that will be created when executing an execution.
    * 
* - * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.run.v2.TaskTemplateOrBuilder getTemplateOrBuilder(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java new file mode 100644 index 000000000000..157c281e9a1c --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ExecutionTemplateProto.java @@ -0,0 +1,92 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/execution_template.proto + +package com.google.cloud.run.v2; + +public final class ExecutionTemplateProto { + private ExecutionTemplateProto() {} + 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_run_v2_ExecutionTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_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/run/v2/execution_template" + + ".proto\022\023google.cloud.run.v2\032\037google/api/" + + "field_behavior.proto\032\'google/cloud/run/v" + + "2/task_template.proto\"\353\002\n\021ExecutionTempl" + + "ate\022B\n\006labels\030\001 \003(\01322.google.cloud.run.v" + + "2.ExecutionTemplate.LabelsEntry\022L\n\013annot" + + "ations\030\002 \003(\01327.google.cloud.run.v2.Execu" + + "tionTemplate.AnnotationsEntry\022\023\n\013paralle" + + "lism\030\003 \001(\005\022\022\n\ntask_count\030\004 \001(\005\0228\n\010templa" + + "te\030\005 \001(\0132!.google.cloud.run.v2.TaskTempl" + + "ateB\003\340A\002\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + + "value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001Bk\n\027com.googl" + + "e.cloud.run.v2B\026ExecutionTemplateProtoP\001" + + "Z6google.golang.org/genproto/googleapis/" + + "cloud/run/v2;runb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_ExecutionTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor, + new java.lang.String[] { "Labels", "Annotations", "Parallelism", "TaskCount", "Template", }); + internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ExecutionTemplate_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_ExecutionTemplate_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ExecutionTemplate_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.cloud.run.v2.TaskTemplateProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java new file mode 100644 index 000000000000..1f19007ba100 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCAction.java @@ -0,0 +1,672 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +/** + *
+ * GRPCAction describes an action involving a GRPC port.
+ * 
+ * + * Protobuf type {@code google.cloud.run.v2.GRPCAction} + */ +public final class GRPCAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GRPCAction) + GRPCActionOrBuilder { +private static final long serialVersionUID = 0L; + // Use GRPCAction.newBuilder() to construct. + private GRPCAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GRPCAction() { + service_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GRPCAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.run.v2.GRPCAction.class, com.google.cloud.run.v2.GRPCAction.Builder.class); + } + + public static final int PORT_FIELD_NUMBER = 1; + private int port_; + /** + *
+   * Port number of the gRPC service. Number must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
+   * 
+ * + * int32 port = 1; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + + public static final int SERVICE_FIELD_NUMBER = 2; + private volatile java.lang.Object service_; + /** + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * @return The service. + */ + @java.lang.Override + public java.lang.String getService() { + java.lang.Object ref = service_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } + } + /** + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * @return The bytes for service. + */ + @java.lang.Override + 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); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (port_ != 0) { + output.writeInt32(1, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, service_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (port_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, port_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, service_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.run.v2.GRPCAction)) { + return super.equals(obj); + } + com.google.cloud.run.v2.GRPCAction other = (com.google.cloud.run.v2.GRPCAction) obj; + + if (getPort() + != other.getPort()) return false; + if (!getService() + .equals(other.getService())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PORT_FIELD_NUMBER; + hash = (53 * hash) + getPort(); + hash = (37 * hash) + SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getService().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.run.v2.GRPCAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.run.v2.GRPCAction 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.run.v2.GRPCAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.run.v2.GRPCAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.run.v2.GRPCAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.run.v2.GRPCAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.run.v2.GRPCAction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * GRPCAction describes an action involving a GRPC port.
+   * 
+ * + * Protobuf type {@code google.cloud.run.v2.GRPCAction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.run.v2.GRPCAction) + com.google.cloud.run.v2.GRPCActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.run.v2.GRPCAction.class, com.google.cloud.run.v2.GRPCAction.Builder.class); + } + + // Construct using com.google.cloud.run.v2.GRPCAction.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + port_ = 0; + + service_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_GRPCAction_descriptor; + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getDefaultInstanceForType() { + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction build() { + com.google.cloud.run.v2.GRPCAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction buildPartial() { + com.google.cloud.run.v2.GRPCAction result = new com.google.cloud.run.v2.GRPCAction(this); + result.port_ = port_; + result.service_ = service_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + 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) { + return super.clearField(field); + } + @java.lang.Override + 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) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + 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.run.v2.GRPCAction) { + return mergeFrom((com.google.cloud.run.v2.GRPCAction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.run.v2.GRPCAction other) { + if (other == com.google.cloud.run.v2.GRPCAction.getDefaultInstance()) return this; + if (other.getPort() != 0) { + setPort(other.getPort()); + } + if (!other.getService().isEmpty()) { + service_ = other.service_; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + port_ = input.readInt32(); + + break; + } // case 8 + case 18: { + service_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private int port_ ; + /** + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * @return The port. + */ + @java.lang.Override + public int getPort() { + return port_; + } + /** + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * @param value The port to set. + * @return This builder for chaining. + */ + public Builder setPort(int value) { + + port_ = value; + onChanged(); + return this; + } + /** + *
+     * Port number of the gRPC service. Number must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
+     * 
+ * + * int32 port = 1; + * @return This builder for chaining. + */ + public Builder clearPort() { + + port_ = 0; + onChanged(); + return this; + } + + private java.lang.Object service_ = ""; + /** + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * @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; + java.lang.String s = bs.toStringUtf8(); + service_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * @return The bytes for service. + */ + 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); + service_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * @param value The service to set. + * @return This builder for chaining. + */ + public Builder setService( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + service_ = value; + onChanged(); + return this; + } + /** + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * @return This builder for chaining. + */ + public Builder clearService() { + + service_ = getDefaultInstance().getService(); + onChanged(); + return this; + } + /** + *
+     * Service is the name of the service to place in the gRPC HealthCheckRequest
+     * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+     * this is not specified, the default behavior is defined by gRPC.
+     * 
+ * + * string service = 2; + * @param value The bytes for service to set. + * @return This builder for chaining. + */ + public Builder setServiceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + service_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GRPCAction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GRPCAction) + private static final com.google.cloud.run.v2.GRPCAction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.run.v2.GRPCAction(); + } + + public static com.google.cloud.run.v2.GRPCAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GRPCAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java new file mode 100644 index 000000000000..d9b78269af86 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GRPCActionOrBuilder.java @@ -0,0 +1,44 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +public interface GRPCActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GRPCAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Port number of the gRPC service. Number must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
+   * 
+ * + * int32 port = 1; + * @return The port. + */ + int getPort(); + + /** + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * @return The service. + */ + java.lang.String getService(); + /** + *
+   * Service is the name of the service to place in the gRPC HealthCheckRequest
+   * (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If
+   * this is not specified, the default behavior is defined by gRPC.
+   * 
+ * + * string service = 2; + * @return The bytes for service. + */ + com.google.protobuf.ByteString + getServiceBytes(); +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java similarity index 62% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java index bc809c1d7aa0..19771258cac0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequest.java @@ -1,87 +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/run/v2/execution.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for obtaining a Execution by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.GetExecutionRequest} */ -public final class GetExecutionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetExecutionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GetExecutionRequest) GetExecutionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetExecutionRequest.newBuilder() to construct. private GetExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetExecutionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetExecutionRequest.class, - com.google.cloud.run.v2.GetExecutionRequest.Builder.class); + com.google.cloud.run.v2.GetExecutionRequest.class, com.google.cloud.run.v2.GetExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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 @@ -90,33 +67,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 full name of the Execution.
    * Format:
-   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
    * 
* - * - * 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 { @@ -125,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +112,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_); } @@ -161,15 +137,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.run.v2.GetExecutionRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.GetExecutionRequest other = - (com.google.cloud.run.v2.GetExecutionRequest) obj; + com.google.cloud.run.v2.GetExecutionRequest other = (com.google.cloud.run.v2.GetExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +164,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.GetExecutionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.GetExecutionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.GetExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest 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 obtaining a Execution by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.GetExecutionRequest} */ - 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.run.v2.GetExecutionRequest) com.google.cloud.run.v2.GetExecutionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetExecutionRequest.class, - com.google.cloud.run.v2.GetExecutionRequest.Builder.class); + com.google.cloud.run.v2.GetExecutionRequest.class, com.google.cloud.run.v2.GetExecutionRequest.Builder.class); } // Construct using com.google.cloud.run.v2.GetExecutionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_GetExecutionRequest_descriptor; } @java.lang.Override @@ -348,8 +318,7 @@ public com.google.cloud.run.v2.GetExecutionRequest build() { @java.lang.Override public com.google.cloud.run.v2.GetExecutionRequest buildPartial() { - com.google.cloud.run.v2.GetExecutionRequest result = - new com.google.cloud.run.v2.GetExecutionRequest(this); + com.google.cloud.run.v2.GetExecutionRequest result = new com.google.cloud.run.v2.GetExecutionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +328,38 @@ public com.google.cloud.run.v2.GetExecutionRequest 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.run.v2.GetExecutionRequest) { - return mergeFrom((com.google.cloud.run.v2.GetExecutionRequest) other); + return mergeFrom((com.google.cloud.run.v2.GetExecutionRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +398,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +421,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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; @@ -481,25 +444,23 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 { @@ -507,80 +468,70 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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 full name of the Execution.
      * Format:
-     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
+     * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+     * where {project} can be project id or number.
      * 
* - * - * 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); } @@ -590,12 +541,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GetExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GetExecutionRequest) private static final com.google.cloud.run.v2.GetExecutionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.GetExecutionRequest(); } @@ -604,27 +555,27 @@ public static com.google.cloud.run.v2.GetExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..431e1a373cdf --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetExecutionRequestOrBuilder.java @@ -0,0 +1,35 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/execution.proto + +package com.google.cloud.run.v2; + +public interface GetExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full name of the Execution.
+   * Format:
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full name of the Execution.
+   * Format:
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution},
+   * where {project} can be project id or number.
+   * 
+ * + * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java index c82537e8e8c5..638dd858fd3f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequest.java @@ -1,86 +1,63 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for obtaining a Job by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetJobRequest.class, - com.google.cloud.run.v2.GetJobRequest.Builder.class); + com.google.cloud.run.v2.GetJobRequest.class, com.google.cloud.run.v2.GetJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 @@ -89,32 +66,31 @@ 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 full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 { @@ -123,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +110,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_); } @@ -159,14 +135,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.run.v2.GetJobRequest)) { return super.equals(obj); } com.google.cloud.run.v2.GetJobRequest other = (com.google.cloud.run.v2.GetJobRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -185,135 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.GetJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.GetJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.GetJobRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.GetJobRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.GetJobRequest 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.run.v2.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.run.v2.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.run.v2.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.run.v2.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 obtaining a Job by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.GetJobRequest) com.google.cloud.run.v2.GetJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_GetJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetJobRequest.class, - com.google.cloud.run.v2.GetJobRequest.Builder.class); + com.google.cloud.run.v2.GetJobRequest.class, com.google.cloud.run.v2.GetJobRequest.Builder.class); } // Construct using com.google.cloud.run.v2.GetJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_GetJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_GetJobRequest_descriptor; } @java.lang.Override @@ -344,8 +316,7 @@ public com.google.cloud.run.v2.GetJobRequest build() { @java.lang.Override public com.google.cloud.run.v2.GetJobRequest buildPartial() { - com.google.cloud.run.v2.GetJobRequest result = - new com.google.cloud.run.v2.GetJobRequest(this); + com.google.cloud.run.v2.GetJobRequest result = new com.google.cloud.run.v2.GetJobRequest(this); result.name_ = name_; onBuilt(); return result; @@ -355,39 +326,38 @@ public com.google.cloud.run.v2.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.run.v2.GetJobRequest) { - return mergeFrom((com.google.cloud.run.v2.GetJobRequest) other); + return mergeFrom((com.google.cloud.run.v2.GetJobRequest)other); } else { super.mergeFrom(other); return this; @@ -426,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,23 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; @@ -476,24 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 { @@ -501,77 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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); } @@ -581,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GetJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GetJobRequest) private static final com.google.cloud.run.v2.GetJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.GetJobRequest(); } @@ -595,27 +548,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -630,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java new file mode 100644 index 000000000000..b08690f50908 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetJobRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/job.proto + +package com.google.cloud.run.v2; + +public interface GetJobRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetJobRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full name of the Job.
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full name of the Job.
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
+   * 
+ * + * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java similarity index 62% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java index aa5e6237300a..e219296b3134 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequest.java @@ -1,87 +1,63 @@ -/* - * 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/run/v2/revision.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for obtaining a Revision by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.GetRevisionRequest} */ -public final class GetRevisionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRevisionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GetRevisionRequest) GetRevisionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRevisionRequest.newBuilder() to construct. private GetRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRevisionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRevisionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetRevisionRequest.class, - com.google.cloud.run.v2.GetRevisionRequest.Builder.class); + com.google.cloud.run.v2.GetRevisionRequest.class, com.google.cloud.run.v2.GetRevisionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Revision.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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 @@ -90,33 +66,31 @@ 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 full name of the Revision.
    * Format:
    * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
    * 
* - * - * 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 { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,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_); } @@ -161,15 +135,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.run.v2.GetRevisionRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.GetRevisionRequest other = - (com.google.cloud.run.v2.GetRevisionRequest) obj; + com.google.cloud.run.v2.GetRevisionRequest other = (com.google.cloud.run.v2.GetRevisionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.GetRevisionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.GetRevisionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.GetRevisionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest 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 obtaining a Revision by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.GetRevisionRequest} */ - 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.run.v2.GetRevisionRequest) com.google.cloud.run.v2.GetRevisionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetRevisionRequest.class, - com.google.cloud.run.v2.GetRevisionRequest.Builder.class); + com.google.cloud.run.v2.GetRevisionRequest.class, com.google.cloud.run.v2.GetRevisionRequest.Builder.class); } // Construct using com.google.cloud.run.v2.GetRevisionRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -327,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor; } @java.lang.Override @@ -348,8 +316,7 @@ public com.google.cloud.run.v2.GetRevisionRequest build() { @java.lang.Override public com.google.cloud.run.v2.GetRevisionRequest buildPartial() { - com.google.cloud.run.v2.GetRevisionRequest result = - new com.google.cloud.run.v2.GetRevisionRequest(this); + com.google.cloud.run.v2.GetRevisionRequest result = new com.google.cloud.run.v2.GetRevisionRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.cloud.run.v2.GetRevisionRequest 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.run.v2.GetRevisionRequest) { - return mergeFrom((com.google.cloud.run.v2.GetRevisionRequest) other); + return mergeFrom((com.google.cloud.run.v2.GetRevisionRequest)other); } else { super.mergeFrom(other); return this; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -455,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Revision.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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; @@ -481,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Revision.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 { @@ -507,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Revision.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 full name of the Revision.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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 full name of the Revision.
      * Format:
      * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
      * 
* - * - * 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); } @@ -590,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GetRevisionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GetRevisionRequest) private static final com.google.cloud.run.v2.GetRevisionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.GetRevisionRequest(); } @@ -604,27 +548,27 @@ public static com.google.cloud.run.v2.GetRevisionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRevisionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRevisionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.GetRevisionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java new file mode 100644 index 000000000000..81c3a8f2eac9 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetRevisionRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/revision.proto + +package com.google.cloud.run.v2; + +public interface GetRevisionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetRevisionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full name of the Revision.
+   * Format:
+   * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full name of the Revision.
+   * Format:
+   * projects/{project}/locations/{location}/services/{service}/revisions/{revision}
+   * 
+ * + * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java index 86bb5c6ee107..f2c27f541454 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequest.java @@ -1,86 +1,63 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for obtaining a Service by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.GetServiceRequest} */ -public final class GetServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GetServiceRequest) GetServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetServiceRequest.newBuilder() to construct. private GetServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetServiceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetServiceRequest.class, - com.google.cloud.run.v2.GetServiceRequest.Builder.class); + com.google.cloud.run.v2.GetServiceRequest.class, com.google.cloud.run.v2.GetServiceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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 @@ -89,32 +66,31 @@ 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 full name of the Service.
-   * Format: projects/{project}/locations/{location}/services/{service}
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
    * 
* - * - * 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 { @@ -123,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +110,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_); } @@ -159,15 +135,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.run.v2.GetServiceRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.GetServiceRequest other = - (com.google.cloud.run.v2.GetServiceRequest) obj; + com.google.cloud.run.v2.GetServiceRequest other = (com.google.cloud.run.v2.GetServiceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.GetServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.GetServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.GetServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest 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 obtaining a Service by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.GetServiceRequest} */ - 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.run.v2.GetServiceRequest) com.google.cloud.run.v2.GetServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetServiceRequest.class, - com.google.cloud.run.v2.GetServiceRequest.Builder.class); + com.google.cloud.run.v2.GetServiceRequest.class, com.google.cloud.run.v2.GetServiceRequest.Builder.class); } // Construct using com.google.cloud.run.v2.GetServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -325,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; } @java.lang.Override @@ -346,8 +316,7 @@ public com.google.cloud.run.v2.GetServiceRequest build() { @java.lang.Override public com.google.cloud.run.v2.GetServiceRequest buildPartial() { - com.google.cloud.run.v2.GetServiceRequest result = - new com.google.cloud.run.v2.GetServiceRequest(this); + com.google.cloud.run.v2.GetServiceRequest result = new com.google.cloud.run.v2.GetServiceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +326,38 @@ public com.google.cloud.run.v2.GetServiceRequest 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.run.v2.GetServiceRequest) { - return mergeFrom((com.google.cloud.run.v2.GetServiceRequest) other); + return mergeFrom((com.google.cloud.run.v2.GetServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -428,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,23 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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; @@ -478,24 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 { @@ -503,77 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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 full name of the Service.
-     * Format: projects/{project}/locations/{location}/services/{service}
+     * Format: projects/{project}/locations/{location}/services/{service}, where
+     * {project} can be project id or number.
      * 
* - * - * 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); } @@ -583,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GetServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GetServiceRequest) private static final com.google.cloud.run.v2.GetServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.GetServiceRequest(); } @@ -597,27 +548,27 @@ public static com.google.cloud.run.v2.GetServiceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -632,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.GetServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java new file mode 100644 index 000000000000..7f423bae6cee --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetServiceRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/service.proto + +package com.google.cloud.run.v2; + +public interface GetServiceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full name of the Service.
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full name of the Service.
+   * Format: projects/{project}/locations/{location}/services/{service}, where
+   * {project} can be project id or number.
+   * 
+ * + * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java similarity index 63% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java index 818c01e8ef26..e602db5e7f6b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequest.java @@ -1,87 +1,63 @@ -/* - * 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/run/v2/task.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for obtaining a Task by its full name.
  * 
* * Protobuf type {@code google.cloud.run.v2.GetTaskRequest} */ -public final class GetTaskRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTaskRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.GetTaskRequest) GetTaskRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTaskRequest.newBuilder() to construct. private GetTaskRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTaskRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTaskRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetTaskRequest.class, - com.google.cloud.run.v2.GetTaskRequest.Builder.class); + com.google.cloud.run.v2.GetTaskRequest.class, com.google.cloud.run.v2.GetTaskRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Task.
    * Format:
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
    * 
* - * - * 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 @@ -90,33 +66,31 @@ 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 full name of the Task.
    * Format:
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
    * 
* - * - * 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 { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,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_); } @@ -161,14 +135,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.run.v2.GetTaskRequest)) { return super.equals(obj); } com.google.cloud.run.v2.GetTaskRequest other = (com.google.cloud.run.v2.GetTaskRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,136 +162,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.GetTaskRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.GetTaskRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest 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 obtaining a Task by its full name.
    * 
* * Protobuf type {@code google.cloud.run.v2.GetTaskRequest} */ - 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.run.v2.GetTaskRequest) com.google.cloud.run.v2.GetTaskRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.GetTaskRequest.class, - com.google.cloud.run.v2.GetTaskRequest.Builder.class); + com.google.cloud.run.v2.GetTaskRequest.class, com.google.cloud.run.v2.GetTaskRequest.Builder.class); } // Construct using com.google.cloud.run.v2.GetTaskRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -326,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_GetTaskRequest_descriptor; } @java.lang.Override @@ -347,8 +316,7 @@ public com.google.cloud.run.v2.GetTaskRequest build() { @java.lang.Override public com.google.cloud.run.v2.GetTaskRequest buildPartial() { - com.google.cloud.run.v2.GetTaskRequest result = - new com.google.cloud.run.v2.GetTaskRequest(this); + com.google.cloud.run.v2.GetTaskRequest result = new com.google.cloud.run.v2.GetTaskRequest(this); result.name_ = name_; onBuilt(); return result; @@ -358,39 +326,38 @@ public com.google.cloud.run.v2.GetTaskRequest 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.run.v2.GetTaskRequest) { - return mergeFrom((com.google.cloud.run.v2.GetTaskRequest) other); + return mergeFrom((com.google.cloud.run.v2.GetTaskRequest)other); } else { super.mergeFrom(other); return this; @@ -429,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -454,24 +419,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Task.
      * Format:
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
      * 
* - * - * 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; @@ -480,25 +441,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Task.
      * Format:
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
      * 
* - * - * 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 { @@ -506,80 +464,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Task.
      * Format:
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
      * 
* - * - * 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 full name of the Task.
      * Format:
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
      * 
* - * - * 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 full name of the Task.
      * Format:
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
      * 
* - * - * 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); } @@ -589,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.GetTaskRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.GetTaskRequest) private static final com.google.cloud.run.v2.GetTaskRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.GetTaskRequest(); } @@ -603,27 +548,27 @@ public static com.google.cloud.run.v2.GetTaskRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTaskRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTaskRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.GetTaskRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java new file mode 100644 index 000000000000..f8f6c1f31415 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/GetTaskRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/task.proto + +package com.google.cloud.run.v2; + +public interface GetTaskRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.GetTaskRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The full name of the Task.
+   * Format:
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The full name of the Task.
+   * Format:
+   * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}
+   * 
+ * + * 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/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java index f3fcff443c36..9d9d56e577e7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetAction.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * HTTPGetAction describes an action based on HTTP Get requests.
  * 
* * Protobuf type {@code google.cloud.run.v2.HTTPGetAction} */ -public final class HTTPGetAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HTTPGetAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.HTTPGetAction) HTTPGetActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HTTPGetAction.newBuilder() to construct. private HTTPGetAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HTTPGetAction() { path_ = ""; httpHeaders_ = java.util.Collections.emptyList(); @@ -44,41 +26,37 @@ private HTTPGetAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HTTPGetAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.HTTPGetAction.class, - com.google.cloud.run.v2.HTTPGetAction.Builder.class); + com.google.cloud.run.v2.HTTPGetAction.class, com.google.cloud.run.v2.HTTPGetAction.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** - * - * *
    * Path to access on the HTTP server. Defaults to '/'.
    * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** - * - * *
    * Path to access on the HTTP server. Defaults to '/'.
    * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -120,8 +98,6 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int HTTP_HEADERS_FIELD_NUMBER = 4; private java.util.List httpHeaders_; /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -133,8 +109,6 @@ public java.util.List getHttpHeadersList() { return httpHeaders_; } /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -142,13 +116,11 @@ public java.util.List getHttpHeadersList() { * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHttpHeadersOrBuilderList() { return httpHeaders_; } /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -160,8 +132,6 @@ public int getHttpHeadersCount() { return httpHeaders_.size(); } /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -173,8 +143,6 @@ public com.google.cloud.run.v2.HTTPHeader getHttpHeaders(int index) { return httpHeaders_.get(index); } /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -182,12 +150,12 @@ public com.google.cloud.run.v2.HTTPHeader getHttpHeaders(int index) { * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ @java.lang.Override - public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index) { + public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder( + int index) { return httpHeaders_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +167,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(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -219,7 +188,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } for (int i = 0; i < httpHeaders_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, httpHeaders_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, httpHeaders_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,15 +199,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.run.v2.HTTPGetAction)) { return super.equals(obj); } com.google.cloud.run.v2.HTTPGetAction other = (com.google.cloud.run.v2.HTTPGetAction) obj; - if (!getPath().equals(other.getPath())) return false; - if (!getHttpHeadersList().equals(other.getHttpHeadersList())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getHttpHeadersList() + .equals(other.getHttpHeadersList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -260,135 +232,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.HTTPGetAction parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.HTTPGetAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.HTTPGetAction parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction 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; } /** - * - * *
    * HTTPGetAction describes an action based on HTTP Get requests.
    * 
* * Protobuf type {@code google.cloud.run.v2.HTTPGetAction} */ - 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.run.v2.HTTPGetAction) com.google.cloud.run.v2.HTTPGetActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.HTTPGetAction.class, - com.google.cloud.run.v2.HTTPGetAction.Builder.class); + com.google.cloud.run.v2.HTTPGetAction.class, com.google.cloud.run.v2.HTTPGetAction.Builder.class); } // Construct using com.google.cloud.run.v2.HTTPGetAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; } @java.lang.Override @@ -426,8 +393,7 @@ public com.google.cloud.run.v2.HTTPGetAction build() { @java.lang.Override public com.google.cloud.run.v2.HTTPGetAction buildPartial() { - com.google.cloud.run.v2.HTTPGetAction result = - new com.google.cloud.run.v2.HTTPGetAction(this); + com.google.cloud.run.v2.HTTPGetAction result = new com.google.cloud.run.v2.HTTPGetAction(this); int from_bitField0_ = bitField0_; result.path_ = path_; if (httpHeadersBuilder_ == null) { @@ -447,39 +413,38 @@ public com.google.cloud.run.v2.HTTPGetAction 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.run.v2.HTTPGetAction) { - return mergeFrom((com.google.cloud.run.v2.HTTPGetAction) other); + return mergeFrom((com.google.cloud.run.v2.HTTPGetAction)other); } else { super.mergeFrom(other); return this; @@ -510,10 +475,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.HTTPGetAction other) { httpHeadersBuilder_ = null; httpHeaders_ = other.httpHeaders_; bitField0_ = (bitField0_ & ~0x00000001); - httpHeadersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHttpHeadersFieldBuilder() - : null; + httpHeadersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHttpHeadersFieldBuilder() : null; } else { httpHeadersBuilder_.addAllMessages(other.httpHeaders_); } @@ -545,32 +509,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - path_ = input.readStringRequireUtf8(); + case 10: { + path_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 34: - { - com.google.cloud.run.v2.HTTPHeader m = - input.readMessage( - com.google.cloud.run.v2.HTTPHeader.parser(), extensionRegistry); - if (httpHeadersBuilder_ == null) { - ensureHttpHeadersIsMutable(); - httpHeaders_.add(m); - } else { - httpHeadersBuilder_.addMessage(m); - } - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 34: { + com.google.cloud.run.v2.HTTPHeader m = + input.readMessage( + com.google.cloud.run.v2.HTTPHeader.parser(), + extensionRegistry); + if (httpHeadersBuilder_ == null) { + ensureHttpHeadersIsMutable(); + httpHeaders_.add(m); + } else { + httpHeadersBuilder_.addMessage(m); + } + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -580,25 +542,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object path_ = ""; /** - * - * *
      * Path to access on the HTTP server. Defaults to '/'.
      * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -607,21 +566,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Path to access on the HTTP server. Defaults to '/'.
      * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -629,85 +587,72 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Path to access on the HTTP server. Defaults to '/'.
      * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Path to access on the HTTP server. Defaults to '/'.
      * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Path to access on the HTTP server. Defaults to '/'.
      * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } private java.util.List httpHeaders_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHttpHeadersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { httpHeaders_ = new java.util.ArrayList(httpHeaders_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.HTTPHeader, - com.google.cloud.run.v2.HTTPHeader.Builder, - com.google.cloud.run.v2.HTTPHeaderOrBuilder> - httpHeadersBuilder_; + com.google.cloud.run.v2.HTTPHeader, com.google.cloud.run.v2.HTTPHeader.Builder, com.google.cloud.run.v2.HTTPHeaderOrBuilder> httpHeadersBuilder_; /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -722,8 +667,6 @@ public java.util.List getHttpHeadersList() { } } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -738,8 +681,6 @@ public int getHttpHeadersCount() { } } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -754,15 +695,14 @@ public com.google.cloud.run.v2.HTTPHeader getHttpHeaders(int index) { } } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public Builder setHttpHeaders(int index, com.google.cloud.run.v2.HTTPHeader value) { + public Builder setHttpHeaders( + int index, com.google.cloud.run.v2.HTTPHeader value) { if (httpHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,8 +716,6 @@ public Builder setHttpHeaders(int index, com.google.cloud.run.v2.HTTPHeader valu return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -796,8 +734,6 @@ public Builder setHttpHeaders( return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -818,15 +754,14 @@ public Builder addHttpHeaders(com.google.cloud.run.v2.HTTPHeader value) { return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public Builder addHttpHeaders(int index, com.google.cloud.run.v2.HTTPHeader value) { + public Builder addHttpHeaders( + int index, com.google.cloud.run.v2.HTTPHeader value) { if (httpHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -840,15 +775,14 @@ public Builder addHttpHeaders(int index, com.google.cloud.run.v2.HTTPHeader valu return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public Builder addHttpHeaders(com.google.cloud.run.v2.HTTPHeader.Builder builderForValue) { + public Builder addHttpHeaders( + com.google.cloud.run.v2.HTTPHeader.Builder builderForValue) { if (httpHeadersBuilder_ == null) { ensureHttpHeadersIsMutable(); httpHeaders_.add(builderForValue.build()); @@ -859,8 +793,6 @@ public Builder addHttpHeaders(com.google.cloud.run.v2.HTTPHeader.Builder builder return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -879,8 +811,6 @@ public Builder addHttpHeaders( return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -891,7 +821,8 @@ public Builder addAllHttpHeaders( java.lang.Iterable values) { if (httpHeadersBuilder_ == null) { ensureHttpHeadersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, httpHeaders_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, httpHeaders_); onChanged(); } else { httpHeadersBuilder_.addAllMessages(values); @@ -899,8 +830,6 @@ public Builder addAllHttpHeaders( return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -918,8 +847,6 @@ public Builder clearHttpHeaders() { return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -937,44 +864,39 @@ public Builder removeHttpHeaders(int index) { return this; } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public com.google.cloud.run.v2.HTTPHeader.Builder getHttpHeadersBuilder(int index) { + public com.google.cloud.run.v2.HTTPHeader.Builder getHttpHeadersBuilder( + int index) { return getHttpHeadersFieldBuilder().getBuilder(index); } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index) { + public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder( + int index) { if (httpHeadersBuilder_ == null) { - return httpHeaders_.get(index); - } else { + return httpHeaders_.get(index); } else { return httpHeadersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public java.util.List - getHttpHeadersOrBuilderList() { + public java.util.List + getHttpHeadersOrBuilderList() { if (httpHeadersBuilder_ != null) { return httpHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -982,8 +904,6 @@ public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int i } } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
@@ -991,54 +911,49 @@ public com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int i * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ public com.google.cloud.run.v2.HTTPHeader.Builder addHttpHeadersBuilder() { - return getHttpHeadersFieldBuilder() - .addBuilder(com.google.cloud.run.v2.HTTPHeader.getDefaultInstance()); + return getHttpHeadersFieldBuilder().addBuilder( + com.google.cloud.run.v2.HTTPHeader.getDefaultInstance()); } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public com.google.cloud.run.v2.HTTPHeader.Builder addHttpHeadersBuilder(int index) { - return getHttpHeadersFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.HTTPHeader.getDefaultInstance()); + public com.google.cloud.run.v2.HTTPHeader.Builder addHttpHeadersBuilder( + int index) { + return getHttpHeadersFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.HTTPHeader.getDefaultInstance()); } /** - * - * *
      * Custom headers to set in the request. HTTP allows repeated headers.
      * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - public java.util.List getHttpHeadersBuilderList() { + public java.util.List + getHttpHeadersBuilderList() { return getHttpHeadersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.HTTPHeader, - com.google.cloud.run.v2.HTTPHeader.Builder, - com.google.cloud.run.v2.HTTPHeaderOrBuilder> + com.google.cloud.run.v2.HTTPHeader, com.google.cloud.run.v2.HTTPHeader.Builder, com.google.cloud.run.v2.HTTPHeaderOrBuilder> getHttpHeadersFieldBuilder() { if (httpHeadersBuilder_ == null) { - httpHeadersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.HTTPHeader, - com.google.cloud.run.v2.HTTPHeader.Builder, - com.google.cloud.run.v2.HTTPHeaderOrBuilder>( - httpHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + httpHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.HTTPHeader, com.google.cloud.run.v2.HTTPHeader.Builder, com.google.cloud.run.v2.HTTPHeaderOrBuilder>( + httpHeaders_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); httpHeaders_ = null; } return httpHeadersBuilder_; } - @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); } @@ -1048,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.HTTPGetAction) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.HTTPGetAction) private static final com.google.cloud.run.v2.HTTPGetAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.HTTPGetAction(); } @@ -1062,27 +977,27 @@ public static com.google.cloud.run.v2.HTTPGetAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HTTPGetAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HTTPGetAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.HTTPGetAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java similarity index 67% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java index 187f6e93c659..d7515019153e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPGetActionOrBuilder.java @@ -1,66 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface HTTPGetActionOrBuilder - extends +public interface HTTPGetActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.HTTPGetAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Path to access on the HTTP server. Defaults to '/'.
    * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Path to access on the HTTP server. Defaults to '/'.
    * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - java.util.List getHttpHeadersList(); + java.util.List + getHttpHeadersList(); /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -69,8 +45,6 @@ public interface HTTPGetActionOrBuilder */ com.google.cloud.run.v2.HTTPHeader getHttpHeaders(int index); /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
@@ -79,24 +53,21 @@ public interface HTTPGetActionOrBuilder */ int getHttpHeadersCount(); /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - java.util.List + java.util.List getHttpHeadersOrBuilderList(); /** - * - * *
    * Custom headers to set in the request. HTTP allows repeated headers.
    * 
* * repeated .google.cloud.run.v2.HTTPHeader http_headers = 4; */ - com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder(int index); + com.google.cloud.run.v2.HTTPHeaderOrBuilder getHttpHeadersOrBuilder( + int index); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java index b62b8d661d20..033bcee25fae 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeader.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * HTTPHeader describes a custom header to be used in HTTP probes
  * 
* * Protobuf type {@code google.cloud.run.v2.HTTPHeader} */ -public final class HTTPHeader extends com.google.protobuf.GeneratedMessageV3 - implements +public final class HTTPHeader extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.HTTPHeader) HTTPHeaderOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use HTTPHeader.newBuilder() to construct. private HTTPHeader(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private HTTPHeader() { name_ = ""; value_ = ""; @@ -44,41 +26,37 @@ private HTTPHeader() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new HTTPHeader(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.HTTPHeader.class, - com.google.cloud.run.v2.HTTPHeader.Builder.class); + com.google.cloud.run.v2.HTTPHeader.class, com.google.cloud.run.v2.HTTPHeader.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The header field name
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ 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 header field name
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -120,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALUE_FIELD_NUMBER = 2; private volatile java.lang.Object value_; /** - * - * *
    * The header field value
    * 
* * string value = 2; - * * @return The value. */ @java.lang.Override @@ -136,29 +111,29 @@ public java.lang.String getValue() { 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(); value_ = s; return s; } } /** - * - * *
    * The header field value
    * 
* * string value = 2; - * * @return The bytes for value. */ @java.lang.Override - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -167,7 +142,6 @@ public com.google.protobuf.ByteString getValueBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -209,15 +184,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.run.v2.HTTPHeader)) { return super.equals(obj); } com.google.cloud.run.v2.HTTPHeader other = (com.google.cloud.run.v2.HTTPHeader) obj; - if (!getName().equals(other.getName())) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -238,135 +215,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.HTTPHeader parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.HTTPHeader parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPHeader 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.run.v2.HTTPHeader parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.HTTPHeader parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPHeader 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.run.v2.HTTPHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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.run.v2.HTTPHeader 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; } /** - * - * *
    * HTTPHeader describes a custom header to be used in HTTP probes
    * 
* * Protobuf type {@code google.cloud.run.v2.HTTPHeader} */ - 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.run.v2.HTTPHeader) com.google.cloud.run.v2.HTTPHeaderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPHeader_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPHeader_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.HTTPHeader.class, - com.google.cloud.run.v2.HTTPHeader.Builder.class); + com.google.cloud.run.v2.HTTPHeader.class, com.google.cloud.run.v2.HTTPHeader.Builder.class); } // Construct using com.google.cloud.run.v2.HTTPHeader.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -378,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_HTTPHeader_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_HTTPHeader_descriptor; } @java.lang.Override @@ -410,39 +382,38 @@ public com.google.cloud.run.v2.HTTPHeader 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.run.v2.HTTPHeader) { - return mergeFrom((com.google.cloud.run.v2.HTTPHeader) other); + return mergeFrom((com.google.cloud.run.v2.HTTPHeader)other); } else { super.mergeFrom(other); return this; @@ -485,25 +456,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - value_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + value_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -516,20 +484,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The header field name
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -538,21 +504,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The header field name
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -560,61 +525,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The header field name
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 header field name
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The header field name
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -622,20 +580,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object value_ = ""; /** - * - * *
      * The header field value
      * 
* * string value = 2; - * * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; 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(); value_ = s; return s; @@ -644,21 +600,20 @@ public java.lang.String getValue() { } } /** - * - * *
      * The header field value
      * 
* * string value = 2; - * * @return The bytes for value. */ - public com.google.protobuf.ByteString getValueBytes() { + public com.google.protobuf.ByteString + getValueBytes() { java.lang.Object ref = value_; 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); value_ = b; return b; } else { @@ -666,68 +621,61 @@ public com.google.protobuf.ByteString getValueBytes() { } } /** - * - * *
      * The header field value
      * 
* * string value = 2; - * * @param value The value to set. * @return This builder for chaining. */ - public Builder setValue(java.lang.String value) { + public Builder setValue( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The header field value
      * 
* * string value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } /** - * - * *
      * The header field value
      * 
* * string value = 2; - * * @param value The bytes for value to set. * @return This builder for chaining. */ - public Builder setValueBytes(com.google.protobuf.ByteString value) { + public Builder setValueBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + value_ = 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); } @@ -737,12 +685,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.HTTPHeader) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.HTTPHeader) private static final com.google.cloud.run.v2.HTTPHeader DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.HTTPHeader(); } @@ -751,27 +699,27 @@ public static com.google.cloud.run.v2.HTTPHeader getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HTTPHeader parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HTTPHeader parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -786,4 +734,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.HTTPHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java similarity index 54% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java index 8ac65748acd2..f420ce363129 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/HTTPHeaderOrBuilder.java @@ -1,75 +1,49 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface HTTPHeaderOrBuilder - extends +public interface HTTPHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.HTTPHeader) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The header field name
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The header field name
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The header field value
    * 
* * string value = 2; - * * @return The value. */ java.lang.String getValue(); /** - * - * *
    * The header field value
    * 
* * string value = 2; - * * @return The bytes for value. */ - com.google.protobuf.ByteString getValueBytes(); + com.google.protobuf.ByteString + getValueBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java index 36c0d0bf2c68..5b0728ca1432 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/IngressTraffic.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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; /** - * - * *
  * Allowed ingress traffic for the Container.
  * 
* * Protobuf enum {@code google.cloud.run.v2.IngressTraffic} */ -public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { +public enum IngressTraffic + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified
    * 
@@ -39,8 +21,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ INGRESS_TRAFFIC_UNSPECIFIED(0), /** - * - * *
    * All inbound traffic is allowed.
    * 
@@ -49,8 +29,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ INGRESS_TRAFFIC_ALL(1), /** - * - * *
    * Only internal traffic is allowed.
    * 
@@ -59,8 +37,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ INGRESS_TRAFFIC_INTERNAL_ONLY(2), /** - * - * *
    * Both internal and Google Cloud Load Balancer traffic is allowed.
    * 
@@ -72,8 +48,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified
    * 
@@ -82,8 +56,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INGRESS_TRAFFIC_UNSPECIFIED_VALUE = 0; /** - * - * *
    * All inbound traffic is allowed.
    * 
@@ -92,8 +64,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INGRESS_TRAFFIC_ALL_VALUE = 1; /** - * - * *
    * Only internal traffic is allowed.
    * 
@@ -102,8 +72,6 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INGRESS_TRAFFIC_INTERNAL_ONLY_VALUE = 2; /** - * - * *
    * Both internal and Google Cloud Load Balancer traffic is allowed.
    * 
@@ -112,6 +80,7 @@ public enum IngressTraffic implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,51 +105,50 @@ public static IngressTraffic valueOf(int value) { */ public static IngressTraffic forNumber(int value) { switch (value) { - case 0: - return INGRESS_TRAFFIC_UNSPECIFIED; - case 1: - return INGRESS_TRAFFIC_ALL; - case 2: - return INGRESS_TRAFFIC_INTERNAL_ONLY; - case 3: - return INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER; - default: - return null; + case 0: return INGRESS_TRAFFIC_UNSPECIFIED; + case 1: return INGRESS_TRAFFIC_ALL; + case 2: return INGRESS_TRAFFIC_INTERNAL_ONLY; + case 3: return INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER; + 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 IngressTraffic findValueByNumber(int number) { - return IngressTraffic.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + IngressTraffic> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public IngressTraffic findValueByNumber(int number) { + return IngressTraffic.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.run.v2.VendorSettingsProto.getDescriptor().getEnumTypes().get(0); } private static final IngressTraffic[] VALUES = values(); - public static IngressTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static IngressTraffic 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; @@ -196,3 +164,4 @@ private IngressTraffic(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.run.v2.IngressTraffic) } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java index 740f72879d95..4fa01271a87d 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Job.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Job represents the configuration of a single job. A job an immutable resource
  * that references a container image which is run to completion.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.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.run.v2.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_ = "";
     uid_ = "";
@@ -52,37 +34,39 @@ 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;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_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 internalGetLabels();
       case 5:
         return internalGetAnnotations();
       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.run.v2.JobProto
-        .internal_static_google_cloud_run_v2_Job_fieldAccessorTable
+    return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.run.v2.Job.class, com.google.cloud.run.v2.Job.Builder.class);
   }
@@ -90,8 +74,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The fully qualified name of this Job.
    * Format:
@@ -99,7 +81,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -108,15 +89,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; } } /** - * - * *
    * The fully qualified name of this Job.
    * Format:
@@ -124,15 +104,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 { @@ -143,15 +124,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -160,30 +138,30 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -194,15 +172,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -211,23 +186,24 @@ public long getGeneration() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_Job_LabelsEntry_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.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -236,8 +212,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -252,22 +226,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 4;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -283,12 +257,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -304,16 +277,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -329,11 +302,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -341,24 +315,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 5;
-
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.JobProto
-                .internal_static_google_cloud_run_v2_Job_AnnotationsEntry_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.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField annotations_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> annotations_;
   private com.google.protobuf.MapField
-      internalGetAnnotations() {
+  internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -367,8 +341,6 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -381,22 +353,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 5;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -410,12 +382,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 5;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -429,17 +400,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 5;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -453,11 +423,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 5;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -467,15 +438,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 6;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -483,15 +450,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -499,14 +462,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -516,15 +476,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -532,15 +488,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -548,14 +500,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -565,15 +514,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -581,15 +526,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -597,14 +538,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -614,16 +552,12 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -631,16 +565,12 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -648,15 +578,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -666,14 +593,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int CREATOR_FIELD_NUMBER = 10; private volatile java.lang.Object creator_; /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ @java.lang.Override @@ -682,29 +606,29 @@ public java.lang.String getCreator() { 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(); creator_ = s; return s; } } /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; 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); creator_ = b; return b; } else { @@ -715,14 +639,11 @@ public com.google.protobuf.ByteString getCreatorBytes() { public static final int LAST_MODIFIER_FIELD_NUMBER = 11; private volatile java.lang.Object lastModifier_; /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ @java.lang.Override @@ -731,29 +652,29 @@ public java.lang.String getLastModifier() { 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(); lastModifier_ = s; return s; } } /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ @java.lang.Override - public com.google.protobuf.ByteString getLastModifierBytes() { + public com.google.protobuf.ByteString + getLastModifierBytes() { java.lang.Object ref = lastModifier_; 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); lastModifier_ = b; return b; } else { @@ -764,14 +685,11 @@ public com.google.protobuf.ByteString getLastModifierBytes() { public static final int CLIENT_FIELD_NUMBER = 12; private volatile java.lang.Object client_; /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 12; - * * @return The client. */ @java.lang.Override @@ -780,29 +698,29 @@ public java.lang.String getClient() { 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(); client_ = s; return s; } } /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 12; - * * @return The bytes for client. */ @java.lang.Override - public com.google.protobuf.ByteString getClientBytes() { + public com.google.protobuf.ByteString + getClientBytes() { java.lang.Object ref = client_; 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); client_ = b; return b; } else { @@ -813,14 +731,11 @@ public com.google.protobuf.ByteString getClientBytes() { public static final int CLIENT_VERSION_FIELD_NUMBER = 13; private volatile java.lang.Object clientVersion_; /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 13; - * * @return The clientVersion. */ @java.lang.Override @@ -829,29 +744,29 @@ public java.lang.String getClientVersion() { 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(); clientVersion_ = s; return s; } } /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 13; - * * @return The bytes for clientVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getClientVersionBytes() { + public com.google.protobuf.ByteString + getClientVersionBytes() { java.lang.Object ref = clientVersion_; 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); clientVersion_ = b; return b; } else { @@ -862,8 +777,6 @@ public com.google.protobuf.ByteString getClientVersionBytes() { public static final int LAUNCH_STAGE_FIELD_NUMBER = 14; private int launchStage_; /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -872,16 +785,12 @@ public com.google.protobuf.ByteString getClientVersionBytes() {
    * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -890,11 +799,9 @@ public int getLaunchStageValue() {
    * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The launchStage. */ - @java.lang.Override - public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; @@ -903,14 +810,11 @@ public com.google.api.LaunchStage getLaunchStage() { public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 15; private com.google.cloud.run.v2.BinaryAuthorization binaryAuthorization_; /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -918,25 +822,18 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return The binaryAuthorization. */ @java.lang.Override public com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
@@ -951,16 +848,11 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati public static final int TEMPLATE_FIELD_NUMBER = 16; private com.google.cloud.run.v2.ExecutionTemplate template_; /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ @java.lang.Override @@ -968,34 +860,23 @@ public boolean hasTemplate() { return template_ != null; } /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionTemplate getTemplate() { - return template_ == null - ? com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() : template_; } /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.run.v2.ExecutionTemplateOrBuilder getTemplateOrBuilder() { @@ -1005,15 +886,12 @@ public com.google.cloud.run.v2.ExecutionTemplateOrBuilder getTemplateOrBuilder() public static final int OBSERVED_GENERATION_FIELD_NUMBER = 17; private long observedGeneration_; /** - * - * *
    * Output only. The generation of this Job. See comments in `reconciling` for additional
    * information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -1024,17 +902,12 @@ public long getObservedGeneration() { public static final int TERMINAL_CONDITION_FIELD_NUMBER = 18; private com.google.cloud.run.v2.Condition terminalCondition_; /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ @java.lang.Override @@ -1042,36 +915,25 @@ public boolean hasTerminalCondition() { return terminalCondition_ != null; } /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ @java.lang.Override public com.google.cloud.run.v2.Condition getTerminalCondition() { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder() { @@ -1081,8 +943,6 @@ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder( public static final int CONDITIONS_FIELD_NUMBER = 19; private java.util.List conditions_; /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -1090,17 +950,13 @@ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -1108,18 +964,14 @@ public java.util.List getConditionsList() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -1127,17 +979,13 @@ public java.util.List getConditionsList() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -1145,17 +993,13 @@ public int getConditionsCount() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.Condition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -1163,26 +1007,22 @@ public com.google.cloud.run.v2.Condition getConditions(int index) {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int EXECUTION_COUNT_FIELD_NUMBER = 20; private int executionCount_; /** - * - * *
    * Output only. Number of executions created for this job.
    * 
* * int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executionCount. */ @java.lang.Override @@ -1193,16 +1033,11 @@ public int getExecutionCount() { public static final int LATEST_CREATED_EXECUTION_FIELD_NUMBER = 22; private com.google.cloud.run.v2.ExecutionReference latestCreatedExecution_; /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestCreatedExecution field is set. */ @java.lang.Override @@ -1210,34 +1045,23 @@ public boolean hasLatestCreatedExecution() { return latestCreatedExecution_ != null; } /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestCreatedExecution. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionReference getLatestCreatedExecution() { - return latestCreatedExecution_ == null - ? com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() - : latestCreatedExecution_; + return latestCreatedExecution_ == null ? com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() : latestCreatedExecution_; } /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.ExecutionReferenceOrBuilder getLatestCreatedExecutionOrBuilder() { @@ -1247,8 +1071,6 @@ public com.google.cloud.run.v2.ExecutionReferenceOrBuilder getLatestCreatedExecu public static final int RECONCILING_FIELD_NUMBER = 23; private boolean reconciling_; /** - * - * *
    * Output only. Returns true if the Job is currently being acted upon by the system to
    * bring it into the desired state.
@@ -1271,7 +1093,6 @@ public com.google.cloud.run.v2.ExecutionReferenceOrBuilder getLatestCreatedExecu
    * 
* * bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1282,15 +1103,12 @@ public boolean getReconciling() { public static final int ETAG_FIELD_NUMBER = 99; private volatile java.lang.Object etag_; /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ @java.lang.Override @@ -1299,30 +1117,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1331,7 +1149,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1343,7 +1160,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_); } @@ -1353,10 +1171,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (generation_ != 0L) { output.writeInt64(3, generation_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -1427,39 +1253,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, annotations__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, creator_); @@ -1474,33 +1305,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, clientVersion_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, launchStage_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(14, launchStage_); } if (binaryAuthorization_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(15, getBinaryAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getBinaryAuthorization()); } if (template_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(16, getTemplate()); } if (observedGeneration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, observedGeneration_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, observedGeneration_); } if (terminalCondition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getTerminalCondition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getTerminalCondition()); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, conditions_.get(i)); } if (executionCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(20, executionCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(20, executionCount_); } if (latestCreatedExecution_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(22, getLatestCreatedExecution()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, getLatestCreatedExecution()); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(23, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(23, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); @@ -1513,60 +1351,82 @@ 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.run.v2.Job)) { return super.equals(obj); } com.google.cloud.run.v2.Job other = (com.google.cloud.run.v2.Job) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getGeneration() != other.getGeneration()) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getGeneration() + != other.getGeneration()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; - } - if (!getCreator().equals(other.getCreator())) return false; - if (!getLastModifier().equals(other.getLastModifier())) return false; - if (!getClient().equals(other.getClient())) return false; - if (!getClientVersion().equals(other.getClientVersion())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + } + if (!getCreator() + .equals(other.getCreator())) return false; + if (!getLastModifier() + .equals(other.getLastModifier())) return false; + if (!getClient() + .equals(other.getClient())) return false; + if (!getClientVersion() + .equals(other.getClientVersion())) return false; if (launchStage_ != other.launchStage_) return false; if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization() + .equals(other.getBinaryAuthorization())) return false; } if (hasTemplate() != other.hasTemplate()) return false; if (hasTemplate()) { - if (!getTemplate().equals(other.getTemplate())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; } - if (getObservedGeneration() != other.getObservedGeneration()) return false; + if (getObservedGeneration() + != other.getObservedGeneration()) return false; if (hasTerminalCondition() != other.hasTerminalCondition()) return false; if (hasTerminalCondition()) { - if (!getTerminalCondition().equals(other.getTerminalCondition())) return false; + if (!getTerminalCondition() + .equals(other.getTerminalCondition())) return false; } - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getExecutionCount() != other.getExecutionCount()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getExecutionCount() + != other.getExecutionCount()) return false; if (hasLatestCreatedExecution() != other.hasLatestCreatedExecution()) return false; if (hasLatestCreatedExecution()) { - if (!getLatestCreatedExecution().equals(other.getLatestCreatedExecution())) return false; + if (!getLatestCreatedExecution() + .equals(other.getLatestCreatedExecution())) return false; } - if (getReconciling() != other.getReconciling()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1583,7 +1443,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); @@ -1627,7 +1488,8 @@ public int hashCode() { hash = (53 * hash) + getTemplate().hashCode(); } hash = (37 * hash) + OBSERVED_GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObservedGeneration()); if (hasTerminalCondition()) { hash = (37 * hash) + TERMINAL_CONDITION_FIELD_NUMBER; hash = (53 * hash) + getTerminalCondition().hashCode(); @@ -1643,7 +1505,8 @@ public int hashCode() { hash = (53 * hash) + getLatestCreatedExecution().hashCode(); } hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -1651,103 +1514,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Job parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Job parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.Job parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Job parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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.run.v2.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.run.v2.Job parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.run.v2.Job parseFrom( + com.google.protobuf.CodedInputStream 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.run.v2.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.run.v2.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; } /** - * - * *
    * Job represents the configuration of a single job. A job an immutable resource
    * that references a container image which is run to completion.
@@ -1755,54 +1612,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.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.run.v2.Job)
       com.google.cloud.run.v2.JobOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         case 5:
           return internalGetAnnotations();
         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 internalGetMutableLabels();
         case 5:
           return internalGetMutableAnnotations();
         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.run.v2.JobProto
-          .internal_static_google_cloud_run_v2_Job_fieldAccessorTable
+      return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.run.v2.Job.class, com.google.cloud.run.v2.Job.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Job.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1891,7 +1753,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_Job_descriptor;
     }
 
@@ -1986,39 +1849,38 @@ public com.google.cloud.run.v2.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.run.v2.Job) {
-        return mergeFrom((com.google.cloud.run.v2.Job) other);
+        return mergeFrom((com.google.cloud.run.v2.Job)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2038,8 +1900,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.Job other) {
       if (other.getGeneration() != 0L) {
         setGeneration(other.getGeneration());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -2101,10 +1965,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Job other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -2149,211 +2012,192 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                generation_ = input.readInt64();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                creator_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 82
-            case 90:
-              {
-                lastModifier_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 90
-            case 98:
-              {
-                client_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 106:
-              {
-                clientVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 106
-            case 112:
-              {
-                launchStage_ = input.readEnum();
-
-                break;
-              } // case 112
-            case 122:
-              {
-                input.readMessage(
-                    getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            case 130:
-              {
-                input.readMessage(getTemplateFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 130
-            case 136:
-              {
-                observedGeneration_ = input.readInt64();
-
-                break;
-              } // case 136
-            case 146:
-              {
-                input.readMessage(
-                    getTerminalConditionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 146
-            case 154:
-              {
-                com.google.cloud.run.v2.Condition m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Condition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 154
-            case 160:
-              {
-                executionCount_ = input.readInt32();
-
-                break;
-              } // case 160
-            case 178:
-              {
-                input.readMessage(
-                    getLatestCreatedExecutionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 178
-            case 184:
-              {
-                reconciling_ = input.readBool();
-
-                break;
-              } // case 184
-            case 794:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 794
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
-          } // switch (tag)
-        } // while (!done)
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.unwrapIOException();
-      } finally {
-        onChanged();
-      } // finally
-      return this;
-    }
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-    private int bitField0_;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
 
-    private java.lang.Object name_ = "";
-    /**
-     *
-     *
-     * 
-     * The fully qualified name of this Job.
-     * Format:
-     * projects/{project}/locations/{location}/jobs/{job}
-     * 
- * - * 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; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; + break; + } // case 18 + case 24: { + generation_ = input.readInt64(); + + break; + } // case 24 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } // case 42 + case 50: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 74: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + case 82: { + creator_ = input.readStringRequireUtf8(); + + break; + } // case 82 + case 90: { + lastModifier_ = input.readStringRequireUtf8(); + + break; + } // case 90 + case 98: { + client_ = input.readStringRequireUtf8(); + + break; + } // case 98 + case 106: { + clientVersion_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 112: { + launchStage_ = input.readEnum(); + + break; + } // case 112 + case 122: { + input.readMessage( + getBinaryAuthorizationFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 122 + case 130: { + input.readMessage( + getTemplateFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 130 + case 136: { + observedGeneration_ = input.readInt64(); + + break; + } // case 136 + case 146: { + input.readMessage( + getTerminalConditionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 146 + case 154: { + com.google.cloud.run.v2.Condition m = + input.readMessage( + com.google.cloud.run.v2.Condition.parser(), + extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 154 + case 160: { + executionCount_ = input.readInt32(); + + break; + } // case 160 + case 178: { + input.readMessage( + getLatestCreatedExecutionFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 178 + case 184: { + reconciling_ = input.readBool(); + + break; + } // case 184 + case 794: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 794 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * The fully qualified name of this Job.
+     * Format:
+     * projects/{project}/locations/{location}/jobs/{job}
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; } else { return (java.lang.String) ref; } } /** - * - * *
      * The fully qualified name of this Job.
      * Format:
@@ -2361,14 +2205,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 { @@ -2376,8 +2221,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The fully qualified name of this Job.
      * Format:
@@ -2385,22 +2228,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; } /** - * - * *
      * The fully qualified name of this Job.
      * Format:
@@ -2408,18 +2249,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; } /** - * - * *
      * The fully qualified name of this Job.
      * Format:
@@ -2427,16 +2265,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; @@ -2444,21 +2282,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -2467,22 +2303,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -2490,80 +2325,70 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -2571,58 +2396,53 @@ public long getGeneration() { return generation_; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2634,8 +2454,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2650,22 +2468,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 4;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2681,12 +2499,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2702,17 +2519,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2728,11 +2544,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2740,12 +2557,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2760,21 +2576,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2789,20 +2607,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        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");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2817,29 +2634,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField annotations_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> annotations_;
     private com.google.protobuf.MapField
-        internalGetAnnotations() {
+    internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAnnotations() {
-      onChanged();
-      ;
+    internalGetMutableAnnotations() {
+      onChanged();;
       if (annotations_ == null) {
-        annotations_ =
-            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ = com.google.protobuf.MapField.newMapField(
+            AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -2851,8 +2669,6 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2865,22 +2681,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 5;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2894,12 +2710,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 5;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2913,17 +2728,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 5;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2937,11 +2751,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 5;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2949,12 +2764,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2967,21 +2781,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 5;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -2994,20 +2810,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 5;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource. Unstructured key value map that may
      * be set by external tools to store and arbitrary metadata.
@@ -3020,65 +2835,49 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 5;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3094,17 +2893,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3115,21 +2911,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3141,15 +2933,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3163,64 +2951,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3228,58 +3000,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3295,17 +3048,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3316,21 +3066,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3342,15 +3088,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3364,64 +3106,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3429,58 +3155,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3496,17 +3203,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -3517,21 +3221,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -3543,15 +3243,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -3565,64 +3261,48 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - + onChanged(); return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -3630,61 +3310,42 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3700,18 +3361,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -3722,22 +3380,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3749,16 +3403,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -3772,67 +3422,51 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -3840,20 +3474,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object creator_ = ""; /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ public java.lang.String getCreator() { java.lang.Object ref = creator_; 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(); creator_ = s; return s; @@ -3862,21 +3494,20 @@ public java.lang.String getCreator() { } } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; 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); creator_ = b; return b; } else { @@ -3884,61 +3515,54 @@ public com.google.protobuf.ByteString getCreatorBytes() { } } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creator to set. * @return This builder for chaining. */ - public Builder setCreator(java.lang.String value) { + public Builder setCreator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creator_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreator() { - + creator_ = getDefaultInstance().getCreator(); onChanged(); return this; } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for creator to set. * @return This builder for chaining. */ - public Builder setCreatorBytes(com.google.protobuf.ByteString value) { + public Builder setCreatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creator_ = value; onChanged(); return this; @@ -3946,20 +3570,18 @@ public Builder setCreatorBytes(com.google.protobuf.ByteString value) { private java.lang.Object lastModifier_ = ""; /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ public java.lang.String getLastModifier() { java.lang.Object ref = lastModifier_; 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(); lastModifier_ = s; return s; @@ -3968,21 +3590,20 @@ public java.lang.String getLastModifier() { } } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ - public com.google.protobuf.ByteString getLastModifierBytes() { + public com.google.protobuf.ByteString + getLastModifierBytes() { java.lang.Object ref = lastModifier_; 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); lastModifier_ = b; return b; } else { @@ -3990,61 +3611,54 @@ public com.google.protobuf.ByteString getLastModifierBytes() { } } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The lastModifier to set. * @return This builder for chaining. */ - public Builder setLastModifier(java.lang.String value) { + public Builder setLastModifier( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastModifier_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLastModifier() { - + lastModifier_ = getDefaultInstance().getLastModifier(); onChanged(); return this; } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for lastModifier to set. * @return This builder for chaining. */ - public Builder setLastModifierBytes(com.google.protobuf.ByteString value) { + public Builder setLastModifierBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastModifier_ = value; onChanged(); return this; @@ -4052,20 +3666,18 @@ public Builder setLastModifierBytes(com.google.protobuf.ByteString value) { private java.lang.Object client_ = ""; /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 12; - * * @return The client. */ public java.lang.String getClient() { java.lang.Object ref = client_; 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(); client_ = s; return s; @@ -4074,21 +3686,20 @@ public java.lang.String getClient() { } } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 12; - * * @return The bytes for client. */ - public com.google.protobuf.ByteString getClientBytes() { + public com.google.protobuf.ByteString + getClientBytes() { java.lang.Object ref = client_; 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); client_ = b; return b; } else { @@ -4096,61 +3707,54 @@ public com.google.protobuf.ByteString getClientBytes() { } } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 12; - * * @param value The client to set. * @return This builder for chaining. */ - public Builder setClient(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - + public Builder setClient( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + client_ = value; onChanged(); return this; } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 12; - * * @return This builder for chaining. */ public Builder clearClient() { - + client_ = getDefaultInstance().getClient(); onChanged(); return this; } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 12; - * * @param value The bytes for client to set. * @return This builder for chaining. */ - public Builder setClientBytes(com.google.protobuf.ByteString value) { + public Builder setClientBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + client_ = value; onChanged(); return this; @@ -4158,20 +3762,18 @@ public Builder setClientBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientVersion_ = ""; /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 13; - * * @return The clientVersion. */ public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; 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(); clientVersion_ = s; return s; @@ -4180,21 +3782,20 @@ public java.lang.String getClientVersion() { } } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 13; - * * @return The bytes for clientVersion. */ - public com.google.protobuf.ByteString getClientVersionBytes() { + public com.google.protobuf.ByteString + getClientVersionBytes() { java.lang.Object ref = clientVersion_; 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); clientVersion_ = b; return b; } else { @@ -4202,61 +3803,54 @@ public com.google.protobuf.ByteString getClientVersionBytes() { } } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 13; - * * @param value The clientVersion to set. * @return This builder for chaining. */ - public Builder setClientVersion(java.lang.String value) { + public Builder setClientVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientVersion_ = value; onChanged(); return this; } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 13; - * * @return This builder for chaining. */ public Builder clearClientVersion() { - + clientVersion_ = getDefaultInstance().getClientVersion(); onChanged(); return this; } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 13; - * * @param value The bytes for clientVersion to set. * @return This builder for chaining. */ - public Builder setClientVersionBytes(com.google.protobuf.ByteString value) { + public Builder setClientVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientVersion_ = value; onChanged(); return this; @@ -4264,8 +3858,6 @@ public Builder setClientVersionBytes(com.google.protobuf.ByteString value) { private int launchStage_ = 0; /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -4274,16 +3866,12 @@ public Builder setClientVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -4292,19 +3880,16 @@ public int getLaunchStageValue() {
      * 
* * .google.api.LaunchStage launch_stage = 14; - * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -4313,7 +3898,6 @@ public Builder setLaunchStageValue(int value) {
      * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The launchStage. */ @java.lang.Override @@ -4323,8 +3907,6 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -4333,7 +3915,6 @@ public com.google.api.LaunchStage getLaunchStage() {
      * 
* * .google.api.LaunchStage launch_stage = 14; - * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -4341,14 +3922,12 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -4357,11 +3936,10 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) {
      * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 0; onChanged(); return this; @@ -4369,47 +3947,34 @@ public Builder clearLaunchStage() { private com.google.cloud.run.v2.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> - binaryAuthorizationBuilder_; + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return The binaryAuthorization. */ public com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4430,8 +3995,6 @@ public Builder setBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizatio return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4450,8 +4013,6 @@ public Builder setBinaryAuthorization( return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4462,9 +4023,7 @@ public Builder mergeBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizat if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.cloud.run.v2.BinaryAuthorization.newBuilder(binaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); } else { binaryAuthorization_ = value; } @@ -4476,8 +4035,6 @@ public Builder mergeBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizat return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4496,8 +4053,6 @@ public Builder clearBinaryAuthorization() { return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4505,13 +4060,11 @@ public Builder clearBinaryAuthorization() { * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; */ public com.google.cloud.run.v2.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { - + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4522,14 +4075,11 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? + com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -4537,17 +4087,14 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), getParentForChildren(), isClean()); + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -4555,58 +4102,39 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati private com.google.cloud.run.v2.ExecutionTemplate template_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionTemplate, - com.google.cloud.run.v2.ExecutionTemplate.Builder, - com.google.cloud.run.v2.ExecutionTemplateOrBuilder> - templateBuilder_; + com.google.cloud.run.v2.ExecutionTemplate, com.google.cloud.run.v2.ExecutionTemplate.Builder, com.google.cloud.run.v2.ExecutionTemplateOrBuilder> templateBuilder_; /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ public com.google.cloud.run.v2.ExecutionTemplate getTemplate() { if (templateBuilder_ == null) { - return template_ == null - ? com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() : template_; } else { return templateBuilder_.getMessage(); } } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTemplate(com.google.cloud.run.v2.ExecutionTemplate value) { if (templateBuilder_ == null) { @@ -4622,17 +4150,14 @@ public Builder setTemplate(com.google.cloud.run.v2.ExecutionTemplate value) { return this; } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTemplate(com.google.cloud.run.v2.ExecutionTemplate.Builder builderForValue) { + public Builder setTemplate( + com.google.cloud.run.v2.ExecutionTemplate.Builder builderForValue) { if (templateBuilder_ == null) { template_ = builderForValue.build(); onChanged(); @@ -4643,23 +4168,17 @@ public Builder setTemplate(com.google.cloud.run.v2.ExecutionTemplate.Builder bui return this; } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTemplate(com.google.cloud.run.v2.ExecutionTemplate value) { if (templateBuilder_ == null) { if (template_ != null) { template_ = - com.google.cloud.run.v2.ExecutionTemplate.newBuilder(template_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.ExecutionTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); } else { template_ = value; } @@ -4671,15 +4190,11 @@ public Builder mergeTemplate(com.google.cloud.run.v2.ExecutionTemplate value) { return this; } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTemplate() { if (templateBuilder_ == null) { @@ -4693,80 +4208,61 @@ public Builder clearTemplate() { return this; } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.ExecutionTemplate.Builder getTemplateBuilder() { - + onChanged(); return getTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.ExecutionTemplateOrBuilder getTemplateOrBuilder() { if (templateBuilder_ != null) { return templateBuilder_.getMessageOrBuilder(); } else { - return template_ == null - ? com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() - : template_; + return template_ == null ? + com.google.cloud.run.v2.ExecutionTemplate.getDefaultInstance() : template_; } } /** - * - * *
      * Required. The template used to create executions for this Job.
      * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionTemplate, - com.google.cloud.run.v2.ExecutionTemplate.Builder, - com.google.cloud.run.v2.ExecutionTemplateOrBuilder> + com.google.cloud.run.v2.ExecutionTemplate, com.google.cloud.run.v2.ExecutionTemplate.Builder, com.google.cloud.run.v2.ExecutionTemplateOrBuilder> getTemplateFieldBuilder() { if (templateBuilder_ == null) { - templateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionTemplate, - com.google.cloud.run.v2.ExecutionTemplate.Builder, - com.google.cloud.run.v2.ExecutionTemplateOrBuilder>( - getTemplate(), getParentForChildren(), isClean()); + templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.ExecutionTemplate, com.google.cloud.run.v2.ExecutionTemplate.Builder, com.google.cloud.run.v2.ExecutionTemplateOrBuilder>( + getTemplate(), + getParentForChildren(), + isClean()); template_ = null; } return templateBuilder_; } - private long observedGeneration_; + private long observedGeneration_ ; /** - * - * *
      * Output only. The generation of this Job. See comments in `reconciling` for additional
      * information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -4774,38 +4270,32 @@ public long getObservedGeneration() { return observedGeneration_; } /** - * - * *
      * Output only. The generation of this Job. See comments in `reconciling` for additional
      * information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The observedGeneration to set. * @return This builder for chaining. */ public Builder setObservedGeneration(long value) { - + observedGeneration_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The generation of this Job. See comments in `reconciling` for additional
      * information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearObservedGeneration() { - + observedGeneration_ = 0L; onChanged(); return this; @@ -4813,61 +4303,42 @@ public Builder clearObservedGeneration() { private com.google.cloud.run.v2.Condition terminalCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - terminalConditionBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> terminalConditionBuilder_; /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ public boolean hasTerminalCondition() { return terminalConditionBuilder_ != null || terminalCondition_ != null; } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ public com.google.cloud.run.v2.Condition getTerminalCondition() { if (terminalConditionBuilder_ == null) { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } else { return terminalConditionBuilder_.getMessage(); } } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition value) { if (terminalConditionBuilder_ == null) { @@ -4883,18 +4354,15 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setTerminalCondition(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder setTerminalCondition( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (terminalConditionBuilder_ == null) { terminalCondition_ = builderForValue.build(); onChanged(); @@ -4905,24 +4373,18 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition.Builder bu return this; } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTerminalCondition(com.google.cloud.run.v2.Condition value) { if (terminalConditionBuilder_ == null) { if (terminalCondition_ != null) { terminalCondition_ = - com.google.cloud.run.v2.Condition.newBuilder(terminalCondition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.Condition.newBuilder(terminalCondition_).mergeFrom(value).buildPartial(); } else { terminalCondition_ = value; } @@ -4934,16 +4396,12 @@ public Builder mergeTerminalCondition(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTerminalCondition() { if (terminalConditionBuilder_ == null) { @@ -4957,91 +4415,69 @@ public Builder clearTerminalCondition() { return this; } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder getTerminalConditionBuilder() { - + onChanged(); return getTerminalConditionFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder() { if (terminalConditionBuilder_ != null) { return terminalConditionBuilder_.getMessageOrBuilder(); } else { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? + com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } } /** - * - * *
      * Output only. The Condition of this Job, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getTerminalConditionFieldBuilder() { if (terminalConditionBuilder_ == null) { - terminalConditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - getTerminalCondition(), getParentForChildren(), isClean()); + terminalConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + getTerminalCondition(), + getParentForChildren(), + isClean()); terminalCondition_ = null; } return terminalConditionBuilder_; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - conditionsBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5049,9 +4485,7 @@ private void ensureConditionsIsMutable() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { @@ -5061,8 +4495,6 @@ public java.util.List getConditionsList() { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5070,9 +4502,7 @@ public java.util.List getConditionsList() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -5082,8 +4512,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5091,9 +4519,7 @@ public int getConditionsCount() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition getConditions(int index) { if (conditionsBuilder_ == null) { @@ -5103,8 +4529,6 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5112,11 +4536,10 @@ public com.google.cloud.run.v2.Condition getConditions(int index) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder setConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5130,8 +4553,6 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5139,9 +4560,7 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -5155,8 +4574,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5164,9 +4581,7 @@ public Builder setConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions(com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { @@ -5182,8 +4597,6 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5191,11 +4604,10 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder addConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5209,8 +4621,6 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5218,11 +4628,10 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder addConditions( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -5233,8 +4642,6 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5242,9 +4649,7 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -5258,8 +4663,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5267,15 +4670,14 @@ public Builder addConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -5283,8 +4685,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5292,9 +4692,7 @@ public Builder addAllConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -5307,8 +4705,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5316,9 +4712,7 @@ public Builder clearConditions() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -5331,8 +4725,6 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5340,16 +4732,13 @@ public Builder removeConditions(int index) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) { + public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5357,20 +4746,16 @@ public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5378,12 +4763,10 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -5391,8 +4774,6 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5400,17 +4781,13 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5418,17 +4795,14 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Condition.getDefaultInstance()); + public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Job does not reach its
@@ -5436,41 +4810,34 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private int executionCount_; + private int executionCount_ ; /** - * - * *
      * Output only. Number of executions created for this job.
      * 
* * int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executionCount. */ @java.lang.Override @@ -5478,36 +4845,30 @@ public int getExecutionCount() { return executionCount_; } /** - * - * *
      * Output only. Number of executions created for this job.
      * 
* * int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The executionCount to set. * @return This builder for chaining. */ public Builder setExecutionCount(int value) { - + executionCount_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Number of executions created for this job.
      * 
* * int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearExecutionCount() { - + executionCount_ = 0; onChanged(); return this; @@ -5515,58 +4876,39 @@ public Builder clearExecutionCount() { private com.google.cloud.run.v2.ExecutionReference latestCreatedExecution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionReference, - com.google.cloud.run.v2.ExecutionReference.Builder, - com.google.cloud.run.v2.ExecutionReferenceOrBuilder> - latestCreatedExecutionBuilder_; + com.google.cloud.run.v2.ExecutionReference, com.google.cloud.run.v2.ExecutionReference.Builder, com.google.cloud.run.v2.ExecutionReferenceOrBuilder> latestCreatedExecutionBuilder_; /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestCreatedExecution field is set. */ public boolean hasLatestCreatedExecution() { return latestCreatedExecutionBuilder_ != null || latestCreatedExecution_ != null; } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestCreatedExecution. */ public com.google.cloud.run.v2.ExecutionReference getLatestCreatedExecution() { if (latestCreatedExecutionBuilder_ == null) { - return latestCreatedExecution_ == null - ? com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() - : latestCreatedExecution_; + return latestCreatedExecution_ == null ? com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() : latestCreatedExecution_; } else { return latestCreatedExecutionBuilder_.getMessage(); } } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLatestCreatedExecution(com.google.cloud.run.v2.ExecutionReference value) { if (latestCreatedExecutionBuilder_ == null) { @@ -5582,15 +4924,11 @@ public Builder setLatestCreatedExecution(com.google.cloud.run.v2.ExecutionRefere return this; } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLatestCreatedExecution( com.google.cloud.run.v2.ExecutionReference.Builder builderForValue) { @@ -5604,23 +4942,17 @@ public Builder setLatestCreatedExecution( return this; } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLatestCreatedExecution(com.google.cloud.run.v2.ExecutionReference value) { if (latestCreatedExecutionBuilder_ == null) { if (latestCreatedExecution_ != null) { latestCreatedExecution_ = - com.google.cloud.run.v2.ExecutionReference.newBuilder(latestCreatedExecution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.ExecutionReference.newBuilder(latestCreatedExecution_).mergeFrom(value).buildPartial(); } else { latestCreatedExecution_ = value; } @@ -5632,15 +4964,11 @@ public Builder mergeLatestCreatedExecution(com.google.cloud.run.v2.ExecutionRefe return this; } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLatestCreatedExecution() { if (latestCreatedExecutionBuilder_ == null) { @@ -5654,74 +4982,55 @@ public Builder clearLatestCreatedExecution() { return this; } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.ExecutionReference.Builder getLatestCreatedExecutionBuilder() { - + onChanged(); return getLatestCreatedExecutionFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ExecutionReferenceOrBuilder - getLatestCreatedExecutionOrBuilder() { + public com.google.cloud.run.v2.ExecutionReferenceOrBuilder getLatestCreatedExecutionOrBuilder() { if (latestCreatedExecutionBuilder_ != null) { return latestCreatedExecutionBuilder_.getMessageOrBuilder(); } else { - return latestCreatedExecution_ == null - ? com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() - : latestCreatedExecution_; + return latestCreatedExecution_ == null ? + com.google.cloud.run.v2.ExecutionReference.getDefaultInstance() : latestCreatedExecution_; } } /** - * - * *
      * Output only. Name of the last created execution.
      * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionReference, - com.google.cloud.run.v2.ExecutionReference.Builder, - com.google.cloud.run.v2.ExecutionReferenceOrBuilder> + com.google.cloud.run.v2.ExecutionReference, com.google.cloud.run.v2.ExecutionReference.Builder, com.google.cloud.run.v2.ExecutionReferenceOrBuilder> getLatestCreatedExecutionFieldBuilder() { if (latestCreatedExecutionBuilder_ == null) { - latestCreatedExecutionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.ExecutionReference, - com.google.cloud.run.v2.ExecutionReference.Builder, - com.google.cloud.run.v2.ExecutionReferenceOrBuilder>( - getLatestCreatedExecution(), getParentForChildren(), isClean()); + latestCreatedExecutionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.ExecutionReference, com.google.cloud.run.v2.ExecutionReference.Builder, com.google.cloud.run.v2.ExecutionReferenceOrBuilder>( + getLatestCreatedExecution(), + getParentForChildren(), + isClean()); latestCreatedExecution_ = null; } return latestCreatedExecutionBuilder_; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Returns true if the Job is currently being acted upon by the system to
      * bring it into the desired state.
@@ -5744,7 +5053,6 @@ public com.google.cloud.run.v2.ExecutionReference.Builder getLatestCreatedExecut
      * 
* * bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -5752,8 +5060,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Returns true if the Job is currently being acted upon by the system to
      * bring it into the desired state.
@@ -5776,19 +5082,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Returns true if the Job is currently being acted upon by the system to
      * bring it into the desired state.
@@ -5811,11 +5114,10 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -5823,21 +5125,19 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -5846,22 +5146,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -5869,71 +5168,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -5943,12 +5235,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Job) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Job) private static final com.google.cloud.run.v2.Job DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Job(); } @@ -5957,27 +5249,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5992,4 +5284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java similarity index 80% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java index 64c976a746ae..6ebe8741ea62 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto package com.google.cloud.run.v2; -public interface JobOrBuilder - extends +public interface JobOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Job) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully qualified name of this Job.
    * Format:
@@ -33,13 +15,10 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The fully qualified name of this Job.
    * Format:
@@ -47,55 +26,45 @@ public interface JobOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server assigned unique identifier for the Execution. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ long getGeneration(); /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -112,8 +81,6 @@ public interface JobOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -128,13 +95,15 @@ public interface JobOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -149,10 +118,9 @@ public interface JobOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -169,13 +137,11 @@ public interface JobOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -190,11 +156,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -209,8 +175,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -223,13 +187,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 5;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -242,10 +208,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 5;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -260,13 +225,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource. Unstructured key value map that may
    * be set by external tools to store and arbitrary metadata.
@@ -279,266 +242,202 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 5;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ java.lang.String getCreator(); /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - com.google.protobuf.ByteString getCreatorBytes(); + com.google.protobuf.ByteString + getCreatorBytes(); /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ java.lang.String getLastModifier(); /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ - com.google.protobuf.ByteString getLastModifierBytes(); + com.google.protobuf.ByteString + getLastModifierBytes(); /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 12; - * * @return The client. */ java.lang.String getClient(); /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 12; - * * @return The bytes for client. */ - com.google.protobuf.ByteString getClientBytes(); + com.google.protobuf.ByteString + getClientBytes(); /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 13; - * * @return The clientVersion. */ java.lang.String getClientVersion(); /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 13; - * * @return The bytes for clientVersion. */ - com.google.protobuf.ByteString getClientVersionBytes(); + com.google.protobuf.ByteString + getClientVersionBytes(); /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -547,13 +446,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -562,38 +458,29 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 14; - * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; - * * @return The binaryAuthorization. */ com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
@@ -603,107 +490,74 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ boolean hasTemplate(); /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ com.google.cloud.run.v2.ExecutionTemplate getTemplate(); /** - * - * *
    * Required. The template used to create executions for this Job.
    * 
* - * - * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.ExecutionTemplate template = 16 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.run.v2.ExecutionTemplateOrBuilder getTemplateOrBuilder(); /** - * - * *
    * Output only. The generation of this Job. See comments in `reconciling` for additional
    * information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ long getObservedGeneration(); /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ boolean hasTerminalCondition(); /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ com.google.cloud.run.v2.Condition getTerminalCondition(); /** - * - * *
    * Output only. The Condition of this Job, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -711,14 +565,11 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -726,14 +577,10 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.Condition getConditions(int index); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -741,14 +588,10 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getConditionsCount(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -756,14 +599,11 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsOrBuilderList(); + java.util.List + getConditionsOrBuilderList(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Job does not reach its
@@ -771,69 +611,49 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Output only. Number of executions created for this job.
    * 
* * int32 execution_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The executionCount. */ int getExecutionCount(); /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the latestCreatedExecution field is set. */ boolean hasLatestCreatedExecution(); /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The latestCreatedExecution. */ com.google.cloud.run.v2.ExecutionReference getLatestCreatedExecution(); /** - * - * *
    * Output only. Name of the last created execution.
    * 
* - * - * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.ExecutionReference latest_created_execution = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.ExecutionReferenceOrBuilder getLatestCreatedExecutionOrBuilder(); /** - * - * *
    * Output only. Returns true if the Job is currently being acted upon by the system to
    * bring it into the desired state.
@@ -856,35 +676,29 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java new file mode 100644 index 000000000000..124b01d7e2d0 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/JobProto.java @@ -0,0 +1,295 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/job.proto + +package com.google.cloud.run.v2; + +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_run_v2_CreateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_GetJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_RunJobRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Job_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Job_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ExecutionReference_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ExecutionReference_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\035google/cloud/run/v2/job.proto\022\023google." + + "cloud.run.v2\032\034google/api/annotations.pro" + + "to\032\027google/api/client.proto\032\037google/api/" + + "field_behavior.proto\032\035google/api/launch_" + + "stage.proto\032\031google/api/resource.proto\032#" + + "google/cloud/run/v2/condition.proto\032,goo" + + "gle/cloud/run/v2/execution_template.prot" + + "o\032)google/cloud/run/v2/vendor_settings.p" + + "roto\032\036google/iam/v1/iam_policy.proto\032\032go" + + "ogle/iam/v1/policy.proto\032#google/longrun" + + "ning/operations.proto\032\037google/protobuf/t" + + "imestamp.proto\"\232\001\n\020CreateJobRequest\022.\n\006p" + + "arent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googleapis.com/" + + "Job\022*\n\003job\030\002 \001(\0132\030.google.cloud.run.v2.J" + + "obB\003\340A\002\022\023\n\006job_id\030\003 \001(\tB\003\340A\002\022\025\n\rvalidate" + + "_only\030\004 \001(\010\"=\n\rGetJobRequest\022,\n\004name\030\001 \001" + + "(\tB\036\340A\002\372A\030\n\026run.googleapis.com/Job\"l\n\020Up" + + "dateJobRequest\022*\n\003job\030\001 \001(\0132\030.google.clo" + + "ud.run.v2.JobB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(" + + "\010\022\025\n\rallow_missing\030\004 \001(\010\"~\n\017ListJobsRequ" + + "est\022.\n\006parent\030\001 \001(\tB\036\340A\002\372A\030\022\026run.googlea" + + "pis.com/Job\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001(\010\"S\n\020List" + + "JobsResponse\022&\n\004jobs\030\001 \003(\0132\030.google.clou" + + "d.run.v2.Job\022\027\n\017next_page_token\030\002 \001(\t\"e\n" + + "\020DeleteJobRequest\022,\n\004name\030\001 \001(\tB\036\340A\002\372A\030\n" + + "\026run.googleapis.com/Job\022\025\n\rvalidate_only" + + "\030\003 \001(\010\022\014\n\004etag\030\004 \001(\t\"b\n\rRunJobRequest\022,\n" + + "\004name\030\001 \001(\tB\036\340A\002\372A\030\n\026run.googleapis.com/" + + "Job\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t" + + "\"\212\t\n\003Job\022\014\n\004name\030\001 \001(\t\022\020\n\003uid\030\002 \001(\tB\003\340A\003" + + "\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0224\n\006labels\030\004 \003(" + + "\0132$.google.cloud.run.v2.Job.LabelsEntry\022" + + ">\n\013annotations\030\005 \003(\0132).google.cloud.run." + + "v2.Job.AnnotationsEntry\0224\n\013create_time\030\006" + + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" + + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" + + "estampB\003\340A\003\0224\n\013delete_time\030\010 \001(\0132\032.googl" + + "e.protobuf.TimestampB\003\340A\003\0224\n\013expire_time" + + "\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022" + + "\024\n\007creator\030\n \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\013" + + " \001(\tB\003\340A\003\022\016\n\006client\030\014 \001(\t\022\026\n\016client_vers" + + "ion\030\r \001(\t\022-\n\014launch_stage\030\016 \001(\0162\027.google" + + ".api.LaunchStage\022F\n\024binary_authorization" + + "\030\017 \001(\0132(.google.cloud.run.v2.BinaryAutho" + + "rization\022=\n\010template\030\020 \001(\0132&.google.clou" + + "d.run.v2.ExecutionTemplateB\003\340A\002\022 \n\023obser" + + "ved_generation\030\021 \001(\003B\003\340A\003\022?\n\022terminal_co" + + "ndition\030\022 \001(\0132\036.google.cloud.run.v2.Cond" + + "itionB\003\340A\003\0227\n\nconditions\030\023 \003(\0132\036.google." + + "cloud.run.v2.ConditionB\003\340A\003\022\034\n\017execution" + + "_count\030\024 \001(\005B\003\340A\003\022N\n\030latest_created_exec" + + "ution\030\026 \001(\0132\'.google.cloud.run.v2.Execut" + + "ionReferenceB\003\340A\003\022\030\n\013reconciling\030\027 \001(\010B\003" + + "\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n" + + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Annotat" + + "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001:R\352AO\n\026run.googleapis.com/Job\0222projects" + + "/{project}/locations/{location}/jobs/{jo" + + "b}R\001\001\"\253\001\n\022ExecutionReference\022/\n\004name\030\001 \001" + + "(\tB!\372A\036\n\034run.googleapis.com/Execution\022/\n" + + "\013create_time\030\002 \001(\0132\032.google.protobuf.Tim" + + "estamp\0223\n\017completion_time\030\003 \001(\0132\032.google" + + ".protobuf.Timestamp2\314\013\n\004Jobs\022\251\001\n\tCreateJ" + + "ob\022%.google.cloud.run.v2.CreateJobReques" + + "t\032\035.google.longrunning.Operation\"V\202\323\344\223\002/" + + "\"(/v2/{parent=projects/*/locations/*}/jo" + + "bs:\003job\332A\021parent,job,job_id\312A\n\n\003Job\022\003Job" + + "\022\177\n\006GetJob\022\".google.cloud.run.v2.GetJobR" + + "equest\032\030.google.cloud.run.v2.Job\"7\202\323\344\223\002*" + + "\022(/v2/{name=projects/*/locations/*/jobs/" + + "*}\332A\004name\022\222\001\n\010ListJobs\022$.google.cloud.ru" + + "n.v2.ListJobsRequest\032%.google.cloud.run." + + "v2.ListJobsResponse\"9\202\323\344\223\002*\022(/v2/{parent" + + "=projects/*/locations/*}/jobs\332A\006parent\022\237" + + "\001\n\tUpdateJob\022%.google.cloud.run.v2.Updat" + + "eJobRequest\032\035.google.longrunning.Operati" + + "on\"L\202\323\344\223\00232,/v2/{job.name=projects/*/loc" + + "ations/*/jobs/*}:\003job\332A\003job\312A\n\n\003Job\022\003Job" + + "\022\227\001\n\tDeleteJob\022%.google.cloud.run.v2.Del" + + "eteJobRequest\032\035.google.longrunning.Opera" + + "tion\"D\202\323\344\223\002**(/v2/{name=projects/*/locat" + + "ions/*/jobs/*}\332A\004name\312A\n\n\003Job\022\003Job\022\244\001\n\006R" + + "unJob\022\".google.cloud.run.v2.RunJobReques" + + "t\032\035.google.longrunning.Operation\"W\202\323\344\223\0021" + + "\",/v2/{name=projects/*/locations/*/jobs/" + + "*}:run:\001*\332A\004name\312A\026\n\tExecution\022\tExecutio" + + "n\022\214\001\n\014GetIamPolicy\022\".google.iam.v1.GetIa" + + "mPolicyRequest\032\025.google.iam.v1.Policy\"A\202" + + "\323\344\223\002;\0229/v2/{resource=projects/*/location" + + "s/*/jobs/*}:getIamPolicy\022\217\001\n\014SetIamPolic" + + "y\022\".google.iam.v1.SetIamPolicyRequest\032\025." + + "google.iam.v1.Policy\"D\202\323\344\223\002>\"9/v2/{resou" + + "rce=projects/*/locations/*/jobs/*}:setIa" + + "mPolicy:\001*\022\265\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"J" + + "\202\323\344\223\002D\"?/v2/{resource=projects/*/locatio" + + "ns/*/jobs/*}:testIamPermissions:\001*\032F\312A\022r" + + "un.googleapis.com\322A.https://www.googleap" + + "is.com/auth/cloud-platformB]\n\027com.google" + + ".cloud.run.v2B\010JobProtoP\001Z6google.golang" + + ".org/genproto/googleapis/cloud/run/v2;ru" + + "nb\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.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.run.v2.ConditionProto.getDescriptor(), + com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor(), + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_CreateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_CreateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_CreateJobRequest_descriptor, + new java.lang.String[] { "Parent", "Job", "JobId", "ValidateOnly", }); + internal_static_google_cloud_run_v2_GetJobRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_GetJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GetJobRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor, + new java.lang.String[] { "Job", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_run_v2_ListJobsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListJobsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_cloud_run_v2_ListJobsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListJobsResponse_descriptor, + new java.lang.String[] { "Jobs", "NextPageToken", }); + internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_run_v2_DeleteJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_DeleteJobRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "Etag", }); + internal_static_google_cloud_run_v2_RunJobRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_RunJobRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "Etag", }); + internal_static_google_cloud_run_v2_Job_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_run_v2_Job_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Job_descriptor, + new java.lang.String[] { "Name", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "UpdateTime", "DeleteTime", "ExpireTime", "Creator", "LastModifier", "Client", "ClientVersion", "LaunchStage", "BinaryAuthorization", "Template", "ObservedGeneration", "TerminalCondition", "Conditions", "ExecutionCount", "LatestCreatedExecution", "Reconciling", "Etag", }); + internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_Job_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Job_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_Job_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_Job_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Job_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_ExecutionReference_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_run_v2_ExecutionReference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ExecutionReference_descriptor, + new java.lang.String[] { "Name", "CreateTime", "CompletionTime", }); + 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.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.run.v2.ConditionProto.getDescriptor(); + com.google.cloud.run.v2.ExecutionTemplateProto.getDescriptor(); + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java new file mode 100644 index 000000000000..70cc14fceecb --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/K8sMinProto.java @@ -0,0 +1,297 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +public final class K8sMinProto { + private K8sMinProto() {} + 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_run_v2_Container_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Container_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_EnvVar_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_EnvVarSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ContainerPort_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_VolumeMount_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Volume_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Volume_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_VersionToPath_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Probe_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Probe_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_HTTPGetAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_HTTPHeader_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_GRPCAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GRPCAction_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/run/v2/k8s.min.proto\022\023goo" + + "gle.cloud.run.v2\032\037google/api/field_behav" + + "ior.proto\032\031google/api/resource.proto\"\234\003\n" + + "\tContainer\022\014\n\004name\030\001 \001(\t\022\022\n\005image\030\002 \001(\tB" + + "\003\340A\002\022\017\n\007command\030\003 \003(\t\022\014\n\004args\030\004 \003(\t\022(\n\003e" + + "nv\030\005 \003(\0132\033.google.cloud.run.v2.EnvVar\022<\n" + + "\tresources\030\006 \001(\0132).google.cloud.run.v2.R" + + "esourceRequirements\0221\n\005ports\030\007 \003(\0132\".goo" + + "gle.cloud.run.v2.ContainerPort\0227\n\rvolume" + + "_mounts\030\010 \003(\0132 .google.cloud.run.v2.Volu" + + "meMount\022\023\n\013working_dir\030\t \001(\t\0222\n\016liveness" + + "_probe\030\n \001(\0132\032.google.cloud.run.v2.Probe" + + "\0221\n\rstartup_probe\030\013 \001(\0132\032.google.cloud.r" + + "un.v2.Probe\"\236\001\n\024ResourceRequirements\022E\n\006" + + "limits\030\001 \003(\01325.google.cloud.run.v2.Resou" + + "rceRequirements.LimitsEntry\022\020\n\010cpu_idle\030" + + "\002 \001(\010\032-\n\013LimitsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"q\n\006EnvVar\022\021\n\004name\030\001 \001(\tB\003\340A" + + "\002\022\017\n\005value\030\002 \001(\tH\000\0229\n\014value_source\030\003 \001(\013" + + "2!.google.cloud.run.v2.EnvVarSourceH\000B\010\n" + + "\006values\"N\n\014EnvVarSource\022>\n\016secret_key_re" + + "f\030\001 \001(\0132&.google.cloud.run.v2.SecretKeyS" + + "elector\"\222\001\n\021SecretKeySelector\022;\n\006secret\030" + + "\001 \001(\tB+\340A\002\372A%\n#secretmanager.googleapis." + + "com/Secret\022@\n\007version\030\002 \001(\tB/\372A,\n*secret" + + "manager.googleapis.com/SecretVersion\"5\n\r" + + "ContainerPort\022\014\n\004name\030\001 \001(\t\022\026\n\016container" + + "_port\030\003 \001(\005\"9\n\013VolumeMount\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\002\022\027\n\nmount_path\030\003 \001(\tB\003\340A\002\"\252\001\n\006Volum" + + "e\022\021\n\004name\030\001 \001(\tB\003\340A\002\0229\n\006secret\030\002 \001(\0132\'.g" + + "oogle.cloud.run.v2.SecretVolumeSourceH\000\022" + + "C\n\022cloud_sql_instance\030\003 \001(\0132%.google.clo" + + "ud.run.v2.CloudSqlInstanceH\000B\r\n\013volume_t" + + "ype\"r\n\022SecretVolumeSource\022\023\n\006secret\030\001 \001(" + + "\tB\003\340A\002\0221\n\005items\030\002 \003(\0132\".google.cloud.run" + + ".v2.VersionToPath\022\024\n\014default_mode\030\003 \001(\005\"" + + "A\n\rVersionToPath\022\021\n\004path\030\001 \001(\tB\003\340A\002\022\017\n\007v" + + "ersion\030\002 \001(\t\022\014\n\004mode\030\003 \001(\005\"%\n\020CloudSqlIn" + + "stance\022\021\n\tinstances\030\001 \003(\t\"\245\002\n\005Probe\022\035\n\025i" + + "nitial_delay_seconds\030\001 \001(\005\022\027\n\017timeout_se" + + "conds\030\002 \001(\005\022\026\n\016period_seconds\030\003 \001(\005\022\031\n\021f" + + "ailure_threshold\030\004 \001(\005\0226\n\010http_get\030\005 \001(\013" + + "2\".google.cloud.run.v2.HTTPGetActionH\000\022:" + + "\n\ntcp_socket\030\006 \001(\0132$.google.cloud.run.v2" + + ".TCPSocketActionH\000\022/\n\004grpc\030\007 \001(\0132\037.googl" + + "e.cloud.run.v2.GRPCActionH\000B\014\n\nprobe_typ" + + "e\"T\n\rHTTPGetAction\022\014\n\004path\030\001 \001(\t\0225\n\014http" + + "_headers\030\004 \003(\0132\037.google.cloud.run.v2.HTT" + + "PHeader\".\n\nHTTPHeader\022\021\n\004name\030\001 \001(\tB\003\340A\002" + + "\022\r\n\005value\030\002 \001(\t\"\037\n\017TCPSocketAction\022\014\n\004po" + + "rt\030\001 \001(\005\"+\n\nGRPCAction\022\014\n\004port\030\001 \001(\005\022\017\n\007" + + "service\030\002 \001(\tB\366\003\n\027com.google.cloud.run.v" + + "2B\013K8sMinProtoP\001Z6google.golang.org/genp" + + "roto/googleapis/cloud/run/v2;run\352Ax\n!clo" + + "udkms.googleapis.com/CryptoKey\022Sprojects" + + "/{project}/locations/{location}/keyRings" + + "/{key_ring}/cryptoKeys/{crypto_key}\352AJ\n#" + + "secretmanager.googleapis.com/Secret\022#pro" + + "jects/{project}/secrets/{secret}\352Ad\n*sec" + + "retmanager.googleapis.com/SecretVersion\022" + + "6projects/{project}/secrets/{secret}/ver" + + "sions/{version}\352Ad\n\"vpcaccess.googleapis" + + ".com/Connector\022>projects/{project}/locat" + + "ions/{location}/connectors/{connector}b\006" + + "proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_Container_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_Container_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Container_descriptor, + new java.lang.String[] { "Name", "Image", "Command", "Args", "Env", "Resources", "Ports", "VolumeMounts", "WorkingDir", "LivenessProbe", "StartupProbe", }); + internal_static_google_cloud_run_v2_ResourceRequirements_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ResourceRequirements_descriptor, + new java.lang.String[] { "Limits", "CpuIdle", }); + internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor = + internal_static_google_cloud_run_v2_ResourceRequirements_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_EnvVar_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_EnvVar_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_EnvVar_descriptor, + new java.lang.String[] { "Name", "Value", "ValueSource", "Values", }); + internal_static_google_cloud_run_v2_EnvVarSource_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_EnvVarSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_EnvVarSource_descriptor, + new java.lang.String[] { "SecretKeyRef", }); + internal_static_google_cloud_run_v2_SecretKeySelector_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_SecretKeySelector_descriptor, + new java.lang.String[] { "Secret", "Version", }); + internal_static_google_cloud_run_v2_ContainerPort_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_run_v2_ContainerPort_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ContainerPort_descriptor, + new java.lang.String[] { "Name", "ContainerPort", }); + internal_static_google_cloud_run_v2_VolumeMount_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_VolumeMount_descriptor, + new java.lang.String[] { "Name", "MountPath", }); + internal_static_google_cloud_run_v2_Volume_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_run_v2_Volume_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Volume_descriptor, + new java.lang.String[] { "Name", "Secret", "CloudSqlInstance", "VolumeType", }); + internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor, + new java.lang.String[] { "Secret", "Items", "DefaultMode", }); + internal_static_google_cloud_run_v2_VersionToPath_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_VersionToPath_descriptor, + new java.lang.String[] { "Path", "Version", "Mode", }); + internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_run_v2_CloudSqlInstance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_CloudSqlInstance_descriptor, + new java.lang.String[] { "Instances", }); + internal_static_google_cloud_run_v2_Probe_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_run_v2_Probe_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Probe_descriptor, + new java.lang.String[] { "InitialDelaySeconds", "TimeoutSeconds", "PeriodSeconds", "FailureThreshold", "HttpGet", "TcpSocket", "Grpc", "ProbeType", }); + internal_static_google_cloud_run_v2_HTTPGetAction_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_run_v2_HTTPGetAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_HTTPGetAction_descriptor, + new java.lang.String[] { "Path", "HttpHeaders", }); + internal_static_google_cloud_run_v2_HTTPHeader_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_run_v2_HTTPHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_HTTPHeader_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_google_cloud_run_v2_TCPSocketAction_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_TCPSocketAction_descriptor, + new java.lang.String[] { "Port", }); + internal_static_google_cloud_run_v2_GRPCAction_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_run_v2_GRPCAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GRPCAction_descriptor, + new java.lang.String[] { "Port", "Service", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + 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.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java similarity index 67% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java index 208a4a70c96d..d7673018c7dc 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequest.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/run/v2/execution.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for retrieving a list of Executions.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListExecutionsRequest} */ -public final class ListExecutionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListExecutionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListExecutionsRequest) ListExecutionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListExecutionsRequest.newBuilder() to construct. private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListExecutionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,40 @@ private ListExecutionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListExecutionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListExecutionsRequest.class, - com.google.cloud.run.v2.ListExecutionsRequest.Builder.class); + com.google.cloud.run.v2.ListExecutionsRequest.class, com.google.cloud.run.v2.ListExecutionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 @@ -91,33 +68,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 Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 { @@ -128,14 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Executions to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token received from a previous call to ListExecutions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,30 +133,30 @@ 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 page token received from a previous call to ListExecutions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @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 { @@ -197,14 +167,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -213,7 +180,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +191,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_); } @@ -251,13 +218,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,18 +236,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.run.v2.ListExecutionsRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.ListExecutionsRequest other = - (com.google.cloud.run.v2.ListExecutionsRequest) obj; + com.google.cloud.run.v2.ListExecutionsRequest other = (com.google.cloud.run.v2.ListExecutionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ListExecutionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListExecutionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListExecutionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest 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 retrieving a list of Executions.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListExecutionsRequest} */ - 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.run.v2.ListExecutionsRequest) com.google.cloud.run.v2.ListExecutionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListExecutionsRequest.class, - com.google.cloud.run.v2.ListExecutionsRequest.Builder.class); + com.google.cloud.run.v2.ListExecutionsRequest.class, com.google.cloud.run.v2.ListExecutionsRequest.Builder.class); } // Construct using com.google.cloud.run.v2.ListExecutionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsRequest_descriptor; } @java.lang.Override @@ -469,8 +436,7 @@ public com.google.cloud.run.v2.ListExecutionsRequest build() { @java.lang.Override public com.google.cloud.run.v2.ListExecutionsRequest buildPartial() { - com.google.cloud.run.v2.ListExecutionsRequest result = - new com.google.cloud.run.v2.ListExecutionsRequest(this); + com.google.cloud.run.v2.ListExecutionsRequest result = new com.google.cloud.run.v2.ListExecutionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -483,39 +449,38 @@ public com.google.cloud.run.v2.ListExecutionsRequest 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.run.v2.ListExecutionsRequest) { - return mergeFrom((com.google.cloud.run.v2.ListExecutionsRequest) other); + return mergeFrom((com.google.cloud.run.v2.ListExecutionsRequest)other); } else { super.mergeFrom(other); return this; @@ -564,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - showDeleted_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + showDeleted_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,24 +567,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; @@ -633,25 +590,23 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 { @@ -659,88 +614,75 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 Execution from which the Executions should be listed.
      * To list all Executions across Jobs, use "-" instead of Job name.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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_ ; /** - * - * *
      * Maximum number of Executions to return in this call.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -748,36 +690,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Executions to return in this call.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Executions to return in this call.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -785,21 +721,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token received from a previous call to ListExecutions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; @@ -808,22 +742,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token received from a previous call to ListExecutions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 { @@ -831,79 +764,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token received from a previous call to ListExecutions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 page token received from a previous call to ListExecutions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token received from a previous call to ListExecutions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -911,43 +834,37 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; 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); } @@ -957,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListExecutionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListExecutionsRequest) private static final com.google.cloud.run.v2.ListExecutionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListExecutionsRequest(); } @@ -971,27 +888,27 @@ public static com.google.cloud.run.v2.ListExecutionsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListExecutionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java similarity index 56% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java index 813d80c54f02..a224c69245d7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsRequestOrBuilder.java @@ -1,110 +1,76 @@ -/* - * 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/run/v2/execution.proto package com.google.cloud.run.v2; -public interface ListExecutionsRequestOrBuilder - extends +public interface ListExecutionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListExecutionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 Execution from which the Executions should be listed.
    * To list all Executions across Jobs, use "-" instead of Job name.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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(); /** - * - * *
    * Maximum number of Executions to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token received from a previous call to ListExecutions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token received from a previous call to ListExecutions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java index 03ae07dcc6ac..bfee1022793b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponse.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/run/v2/execution.proto package com.google.cloud.run.v2; /** - * - * *
  * Response message containing a list of Executions.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListExecutionsResponse} */ -public final class ListExecutionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListExecutionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListExecutionsResponse) ListExecutionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListExecutionsResponse.newBuilder() to construct. private ListExecutionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListExecutionsResponse() { executions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListExecutionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListExecutionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListExecutionsResponse.class, - com.google.cloud.run.v2.ListExecutionsResponse.Builder.class); + com.google.cloud.run.v2.ListExecutionsResponse.class, com.google.cloud.run.v2.ListExecutionsResponse.Builder.class); } public static final int EXECUTIONS_FIELD_NUMBER = 1; private java.util.List executions_; /** - * - * *
    * The resulting list of Executions.
    * 
@@ -84,8 +63,6 @@ public java.util.List getExecutionsList() { return executions_; } /** - * - * *
    * The resulting list of Executions.
    * 
@@ -93,13 +70,11 @@ public java.util.List getExecutionsList() { * repeated .google.cloud.run.v2.Execution executions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExecutionsOrBuilderList() { return executions_; } /** - * - * *
    * The resulting list of Executions.
    * 
@@ -111,8 +86,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The resulting list of Executions.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.run.v2.Execution getExecutions(int index) { return executions_.get(index); } /** - * - * *
    * The resulting list of Executions.
    * 
@@ -133,22 +104,20 @@ public com.google.cloud.run.v2.Execution getExecutions(int index) { * repeated .google.cloud.run.v2.Execution executions = 1; */ @java.lang.Override - public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder(int index) { + public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder( + int index) { return executions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListExecutions request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +126,30 @@ 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 indicating there are more items than page_size. Use it in the next
    * ListExecutions request to continue.
    * 
* * 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 { @@ -189,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +169,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 < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -218,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, executions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +201,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.run.v2.ListExecutionsResponse)) { return super.equals(obj); } - com.google.cloud.run.v2.ListExecutionsResponse other = - (com.google.cloud.run.v2.ListExecutionsResponse) obj; + com.google.cloud.run.v2.ListExecutionsResponse other = (com.google.cloud.run.v2.ListExecutionsResponse) obj; - if (!getExecutionsList().equals(other.getExecutionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getExecutionsList() + .equals(other.getExecutionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +234,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ListExecutionsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListExecutionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListExecutionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse 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 containing a list of Executions.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListExecutionsResponse} */ - 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.run.v2.ListExecutionsResponse) com.google.cloud.run.v2.ListExecutionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListExecutionsResponse.class, - com.google.cloud.run.v2.ListExecutionsResponse.Builder.class); + com.google.cloud.run.v2.ListExecutionsResponse.class, com.google.cloud.run.v2.ListExecutionsResponse.Builder.class); } // Construct using com.google.cloud.run.v2.ListExecutionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ExecutionProto - .internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ExecutionProto.internal_static_google_cloud_run_v2_ListExecutionsResponse_descriptor; } @java.lang.Override @@ -430,8 +395,7 @@ public com.google.cloud.run.v2.ListExecutionsResponse build() { @java.lang.Override public com.google.cloud.run.v2.ListExecutionsResponse buildPartial() { - com.google.cloud.run.v2.ListExecutionsResponse result = - new com.google.cloud.run.v2.ListExecutionsResponse(this); + com.google.cloud.run.v2.ListExecutionsResponse result = new com.google.cloud.run.v2.ListExecutionsResponse(this); int from_bitField0_ = bitField0_; if (executionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +415,38 @@ public com.google.cloud.run.v2.ListExecutionsResponse 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.run.v2.ListExecutionsResponse) { - return mergeFrom((com.google.cloud.run.v2.ListExecutionsResponse) other); + return mergeFrom((com.google.cloud.run.v2.ListExecutionsResponse)other); } else { super.mergeFrom(other); return this; @@ -510,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.ListExecutionsResponse other) { executionsBuilder_ = null; executions_ = other.executions_; bitField0_ = (bitField0_ & ~0x00000001); - executionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExecutionsFieldBuilder() - : null; + executionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getExecutionsFieldBuilder() : null; } else { executionsBuilder_.addAllMessages(other.executions_); } @@ -549,32 +511,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.run.v2.Execution m = - input.readMessage( - com.google.cloud.run.v2.Execution.parser(), extensionRegistry); - if (executionsBuilder_ == null) { - ensureExecutionsIsMutable(); - executions_.add(m); - } else { - executionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.run.v2.Execution m = + input.readMessage( + com.google.cloud.run.v2.Execution.parser(), + extensionRegistry); + if (executionsBuilder_ == null) { + ensureExecutionsIsMutable(); + executions_.add(m); + } else { + executionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -584,28 +544,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List executions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureExecutionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { executions_ = new java.util.ArrayList(executions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Execution, - com.google.cloud.run.v2.Execution.Builder, - com.google.cloud.run.v2.ExecutionOrBuilder> - executionsBuilder_; + com.google.cloud.run.v2.Execution, com.google.cloud.run.v2.Execution.Builder, com.google.cloud.run.v2.ExecutionOrBuilder> executionsBuilder_; /** - * - * *
      * The resulting list of Executions.
      * 
@@ -620,8 +573,6 @@ public java.util.List getExecutionsList() { } } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -636,8 +587,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -652,15 +601,14 @@ public com.google.cloud.run.v2.Execution getExecutions(int index) { } } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public Builder setExecutions(int index, com.google.cloud.run.v2.Execution value) { + public Builder setExecutions( + int index, com.google.cloud.run.v2.Execution value) { if (executionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -674,8 +622,6 @@ public Builder setExecutions(int index, com.google.cloud.run.v2.Execution value) return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -694,8 +640,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -716,15 +660,14 @@ public Builder addExecutions(com.google.cloud.run.v2.Execution value) { return this; } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public Builder addExecutions(int index, com.google.cloud.run.v2.Execution value) { + public Builder addExecutions( + int index, com.google.cloud.run.v2.Execution value) { if (executionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -738,15 +681,14 @@ public Builder addExecutions(int index, com.google.cloud.run.v2.Execution value) return this; } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public Builder addExecutions(com.google.cloud.run.v2.Execution.Builder builderForValue) { + public Builder addExecutions( + com.google.cloud.run.v2.Execution.Builder builderForValue) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); executions_.add(builderForValue.build()); @@ -757,8 +699,6 @@ public Builder addExecutions(com.google.cloud.run.v2.Execution.Builder builderFo return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -777,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -789,7 +727,8 @@ public Builder addAllExecutions( java.lang.Iterable values) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, executions_); onChanged(); } else { executionsBuilder_.addAllMessages(values); @@ -797,8 +736,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -816,8 +753,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -835,44 +770,39 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public com.google.cloud.run.v2.Execution.Builder getExecutionsBuilder(int index) { + public com.google.cloud.run.v2.Execution.Builder getExecutionsBuilder( + int index) { return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder(int index) { + public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder( + int index) { if (executionsBuilder_ == null) { - return executions_.get(index); - } else { + return executions_.get(index); } else { return executionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public java.util.List - getExecutionsOrBuilderList() { + public java.util.List + getExecutionsOrBuilderList() { if (executionsBuilder_ != null) { return executionsBuilder_.getMessageOrBuilderList(); } else { @@ -880,8 +810,6 @@ public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder(int ind } } /** - * - * *
      * The resulting list of Executions.
      * 
@@ -889,47 +817,42 @@ public com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder(int ind * repeated .google.cloud.run.v2.Execution executions = 1; */ public com.google.cloud.run.v2.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Execution.getDefaultInstance()); } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public com.google.cloud.run.v2.Execution.Builder addExecutionsBuilder(int index) { - return getExecutionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Execution.getDefaultInstance()); + public com.google.cloud.run.v2.Execution.Builder addExecutionsBuilder( + int index) { + return getExecutionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Execution.getDefaultInstance()); } /** - * - * *
      * The resulting list of Executions.
      * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - public java.util.List getExecutionsBuilderList() { + public java.util.List + getExecutionsBuilderList() { return getExecutionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Execution, - com.google.cloud.run.v2.Execution.Builder, - com.google.cloud.run.v2.ExecutionOrBuilder> + com.google.cloud.run.v2.Execution, com.google.cloud.run.v2.Execution.Builder, com.google.cloud.run.v2.ExecutionOrBuilder> getExecutionsFieldBuilder() { if (executionsBuilder_ == null) { - executionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Execution, - com.google.cloud.run.v2.Execution.Builder, - com.google.cloud.run.v2.ExecutionOrBuilder>( - executions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Execution, com.google.cloud.run.v2.Execution.Builder, com.google.cloud.run.v2.ExecutionOrBuilder>( + executions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); executions_ = null; } return executionsBuilder_; @@ -937,21 +860,19 @@ public java.util.List getExecutionsBu private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListExecutions request to continue.
      * 
* * 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; @@ -960,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListExecutions request to continue.
      * 
* * 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 { @@ -983,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListExecutions request to continue.
      * 
* * 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 indicating there are more items than page_size. Use it in the next
      * ListExecutions request to continue.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListExecutions request to continue.
      * 
* * 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); } @@ -1057,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListExecutionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListExecutionsResponse) private static final com.google.cloud.run.v2.ListExecutionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListExecutionsResponse(); } @@ -1071,27 +984,27 @@ public static com.google.cloud.run.v2.ListExecutionsResponse getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1106,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListExecutionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java index 31fea6256bb6..c954beed298a 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListExecutionsResponseOrBuilder.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/run/v2/execution.proto package com.google.cloud.run.v2; -public interface ListExecutionsResponseOrBuilder - extends +public interface ListExecutionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListExecutionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting list of Executions.
    * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - java.util.List getExecutionsList(); + java.util.List + getExecutionsList(); /** - * - * *
    * The resulting list of Executions.
    * 
@@ -44,8 +25,6 @@ public interface ListExecutionsResponseOrBuilder */ com.google.cloud.run.v2.Execution getExecutions(int index); /** - * - * *
    * The resulting list of Executions.
    * 
@@ -54,50 +33,43 @@ public interface ListExecutionsResponseOrBuilder */ int getExecutionsCount(); /** - * - * *
    * The resulting list of Executions.
    * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - java.util.List getExecutionsOrBuilderList(); + java.util.List + getExecutionsOrBuilderList(); /** - * - * *
    * The resulting list of Executions.
    * 
* * repeated .google.cloud.run.v2.Execution executions = 1; */ - com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder(int index); + com.google.cloud.run.v2.ExecutionOrBuilder getExecutionsOrBuilder( + int index); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListExecutions request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListExecutions request to continue.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java index 5e31540f8410..f94b3e745b2c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for retrieving a list of Jobs.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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,44 +26,39 @@ 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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListJobsRequest.class, - com.google.cloud.run.v2.ListJobsRequest.Builder.class); + com.google.cloud.run.v2.ListJobsRequest.class, com.google.cloud.run.v2.ListJobsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 @@ -90,32 +67,31 @@ 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 and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 { @@ -126,14 +102,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Jobs to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -144,15 +117,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token received from a previous call to ListJobs.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -161,30 +131,30 @@ 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 page token received from a previous call to ListJobs.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @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 { @@ -195,14 +165,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -211,7 +178,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +189,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_); } @@ -249,13 +216,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -265,17 +234,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.run.v2.ListJobsRequest)) { return super.equals(obj); } com.google.cloud.run.v2.ListJobsRequest other = (com.google.cloud.run.v2.ListJobsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,142 +267,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ListJobsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListJobsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.ListJobsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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 retrieving a list of Jobs.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.ListJobsRequest) com.google.cloud.run.v2.ListJobsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListJobsRequest.class, - com.google.cloud.run.v2.ListJobsRequest.Builder.class); + com.google.cloud.run.v2.ListJobsRequest.class, com.google.cloud.run.v2.ListJobsRequest.Builder.class); } // Construct using com.google.cloud.run.v2.ListJobsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsRequest_descriptor; } @java.lang.Override @@ -466,8 +434,7 @@ public com.google.cloud.run.v2.ListJobsRequest build() { @java.lang.Override public com.google.cloud.run.v2.ListJobsRequest buildPartial() { - com.google.cloud.run.v2.ListJobsRequest result = - new com.google.cloud.run.v2.ListJobsRequest(this); + com.google.cloud.run.v2.ListJobsRequest result = new com.google.cloud.run.v2.ListJobsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -480,39 +447,38 @@ public com.google.cloud.run.v2.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.run.v2.ListJobsRequest) { - return mergeFrom((com.google.cloud.run.v2.ListJobsRequest) other); + return mergeFrom((com.google.cloud.run.v2.ListJobsRequest)other); } else { super.mergeFrom(other); return this; @@ -561,37 +527,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - showDeleted_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + showDeleted_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -604,23 +565,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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; @@ -629,24 +587,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 { @@ -654,85 +610,72 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project to list resources on.
-     * Format: projects/{project}/locations/{location}
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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_ ; /** - * - * *
      * Maximum number of Jobs to return in this call.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -740,36 +683,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Jobs to return in this call.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Jobs to return in this call.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -777,21 +714,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token received from a previous call to ListJobs.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; @@ -800,22 +735,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token received from a previous call to ListJobs.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 { @@ -823,79 +757,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token received from a previous call to ListJobs.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 page token received from a previous call to ListJobs.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token received from a previous call to ListJobs.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -903,43 +827,37 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; 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); } @@ -949,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListJobsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListJobsRequest) private static final com.google.cloud.run.v2.ListJobsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListJobsRequest(); } @@ -963,27 +881,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -998,4 +916,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java similarity index 53% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java index f0c11bcabdec..28d363b7e1b5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsRequestOrBuilder.java @@ -1,108 +1,74 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; -public interface ListJobsRequestOrBuilder - extends +public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 and project to list resources on.
-   * Format: projects/{project}/locations/{location}
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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(); /** - * - * *
    * Maximum number of Jobs to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token received from a previous call to ListJobs.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token received from a previous call to ListJobs.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java index 0dd735ab4411..5f9d5a9420a8 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponse.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Response message containing a list of Jobs.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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,35 +26,32 @@ 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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListJobsResponse.class, - com.google.cloud.run.v2.ListJobsResponse.Builder.class); + com.google.cloud.run.v2.ListJobsResponse.class, com.google.cloud.run.v2.ListJobsResponse.Builder.class); } public static final int JOBS_FIELD_NUMBER = 1; private java.util.List jobs_; /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -84,8 +63,6 @@ public java.util.List getJobsList() { return jobs_; } /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -93,12 +70,11 @@ public java.util.List getJobsList() { * repeated .google.cloud.run.v2.Job jobs = 1; */ @java.lang.Override - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { return jobs_; } /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -110,8 +86,6 @@ public int getJobsCount() { return jobs_.size(); } /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -123,8 +97,6 @@ public com.google.cloud.run.v2.Job getJobs(int index) { return jobs_.get(index); } /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -132,22 +104,20 @@ public com.google.cloud.run.v2.Job getJobs(int index) { * repeated .google.cloud.run.v2.Job jobs = 1; */ @java.lang.Override - public com.google.cloud.run.v2.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.run.v2.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 indicating there are more items than page_size. Use it in the next
    * ListJobs request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +126,30 @@ 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 indicating there are more items than page_size. Use it in the next
    * ListJobs request to continue.
    * 
* * 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 { @@ -188,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +169,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)); } @@ -217,7 +187,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_); @@ -230,15 +201,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.run.v2.ListJobsResponse)) { return super.equals(obj); } com.google.cloud.run.v2.ListJobsResponse other = (com.google.cloud.run.v2.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -261,136 +234,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ListJobsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListJobsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.ListJobsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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 containing a list of Jobs.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.ListJobsResponse) com.google.cloud.run.v2.ListJobsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListJobsResponse.class, - com.google.cloud.run.v2.ListJobsResponse.Builder.class); + com.google.cloud.run.v2.ListJobsResponse.class, com.google.cloud.run.v2.ListJobsResponse.Builder.class); } // Construct using com.google.cloud.run.v2.ListJobsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -407,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_ListJobsResponse_descriptor; } @java.lang.Override @@ -428,8 +395,7 @@ public com.google.cloud.run.v2.ListJobsResponse build() { @java.lang.Override public com.google.cloud.run.v2.ListJobsResponse buildPartial() { - com.google.cloud.run.v2.ListJobsResponse result = - new com.google.cloud.run.v2.ListJobsResponse(this); + com.google.cloud.run.v2.ListJobsResponse result = new com.google.cloud.run.v2.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (jobsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -449,39 +415,38 @@ public com.google.cloud.run.v2.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.run.v2.ListJobsResponse) { - return mergeFrom((com.google.cloud.run.v2.ListJobsResponse) other); + return mergeFrom((com.google.cloud.run.v2.ListJobsResponse)other); } else { super.mergeFrom(other); return this; @@ -508,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.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_); } @@ -547,31 +511,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.run.v2.Job m = - input.readMessage(com.google.cloud.run.v2.Job.parser(), extensionRegistry); - if (jobsBuilder_ == null) { - ensureJobsIsMutable(); - jobs_.add(m); - } else { - jobsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.run.v2.Job m = + input.readMessage( + com.google.cloud.run.v2.Job.parser(), + extensionRegistry); + if (jobsBuilder_ == null) { + ensureJobsIsMutable(); + jobs_.add(m); + } else { + jobsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -581,27 +544,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List jobs_ = java.util.Collections.emptyList(); - + private java.util.List jobs_ = + 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.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> - jobsBuilder_; + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> jobsBuilder_; /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -616,8 +573,6 @@ public java.util.List getJobsList() { } } /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -632,8 +587,6 @@ public int getJobsCount() { } } /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -648,15 +601,14 @@ public com.google.cloud.run.v2.Job getJobs(int index) { } } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.run.v2.Job value) { + public Builder setJobs( + int index, com.google.cloud.run.v2.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,15 +622,14 @@ public Builder setJobs(int index, com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder setJobs(int index, com.google.cloud.run.v2.Job.Builder builderForValue) { + public Builder setJobs( + int index, com.google.cloud.run.v2.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.set(index, builderForValue.build()); @@ -689,8 +640,6 @@ public Builder setJobs(int index, com.google.cloud.run.v2.Job.Builder builderFor return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -711,15 +660,14 @@ public Builder addJobs(com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.run.v2.Job value) { + public Builder addJobs( + int index, com.google.cloud.run.v2.Job value) { if (jobsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -733,15 +681,14 @@ public Builder addJobs(int index, com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder addJobs(com.google.cloud.run.v2.Job.Builder builderForValue) { + public Builder addJobs( + com.google.cloud.run.v2.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(builderForValue.build()); @@ -752,15 +699,14 @@ public Builder addJobs(com.google.cloud.run.v2.Job.Builder builderForValue) { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder addJobs(int index, com.google.cloud.run.v2.Job.Builder builderForValue) { + public Builder addJobs( + int index, com.google.cloud.run.v2.Job.Builder builderForValue) { if (jobsBuilder_ == null) { ensureJobsIsMutable(); jobs_.add(index, builderForValue.build()); @@ -771,18 +717,18 @@ public Builder addJobs(int index, com.google.cloud.run.v2.Job.Builder builderFor return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public Builder addAllJobs(java.lang.Iterable values) { + 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); @@ -790,8 +736,6 @@ public Builder addAllJobs(java.lang.Iterable * The resulting list of Jobs. *
@@ -809,8 +753,6 @@ public Builder clearJobs() { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -828,43 +770,39 @@ public Builder removeJobs(int index) { return this; } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public com.google.cloud.run.v2.Job.Builder getJobsBuilder(int index) { + public com.google.cloud.run.v2.Job.Builder getJobsBuilder( + int index) { return getJobsFieldBuilder().getBuilder(index); } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public com.google.cloud.run.v2.JobOrBuilder getJobsOrBuilder(int index) { + public com.google.cloud.run.v2.JobOrBuilder getJobsOrBuilder( + int index) { if (jobsBuilder_ == null) { - return jobs_.get(index); - } else { + return jobs_.get(index); } else { return jobsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public java.util.List getJobsOrBuilderList() { + public java.util.List + getJobsOrBuilderList() { if (jobsBuilder_ != null) { return jobsBuilder_.getMessageOrBuilderList(); } else { @@ -872,8 +810,6 @@ public java.util.List getJobsOrB } } /** - * - * *
      * The resulting list of Jobs.
      * 
@@ -881,46 +817,42 @@ public java.util.List getJobsOrB * repeated .google.cloud.run.v2.Job jobs = 1; */ public com.google.cloud.run.v2.Job.Builder addJobsBuilder() { - return getJobsFieldBuilder().addBuilder(com.google.cloud.run.v2.Job.getDefaultInstance()); + return getJobsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Job.getDefaultInstance()); } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public com.google.cloud.run.v2.Job.Builder addJobsBuilder(int index) { - return getJobsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Job.getDefaultInstance()); + public com.google.cloud.run.v2.Job.Builder addJobsBuilder( + int index) { + return getJobsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Job.getDefaultInstance()); } /** - * - * *
      * The resulting list of Jobs.
      * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - public java.util.List getJobsBuilderList() { + public java.util.List + getJobsBuilderList() { return getJobsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> getJobsFieldBuilder() { if (jobsBuilder_ == null) { - jobsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder>( - jobs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + jobsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder>( + jobs_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); jobs_ = null; } return jobsBuilder_; @@ -928,21 +860,19 @@ public java.util.List getJobsBuilderList() private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListJobs request to continue.
      * 
* * 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; @@ -951,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListJobs request to continue.
      * 
* * 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 { @@ -974,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListJobs request to continue.
      * 
* * 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 indicating there are more items than page_size. Use it in the next
      * ListJobs request to continue.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListJobs request to continue.
      * 
* * 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); } @@ -1048,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListJobsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListJobsResponse) private static final com.google.cloud.run.v2.ListJobsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListJobsResponse(); } @@ -1062,27 +984,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java similarity index 62% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java index 6663dd3b74b3..186279206191 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListJobsResponseOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/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/run/v2/job.proto package com.google.cloud.run.v2; -public interface ListJobsResponseOrBuilder - extends +public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting list of Jobs.
    * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - java.util.List getJobsList(); + java.util.List + getJobsList(); /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -44,8 +25,6 @@ public interface ListJobsResponseOrBuilder */ com.google.cloud.run.v2.Job getJobs(int index); /** - * - * *
    * The resulting list of Jobs.
    * 
@@ -54,50 +33,43 @@ public interface ListJobsResponseOrBuilder */ int getJobsCount(); /** - * - * *
    * The resulting list of Jobs.
    * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - java.util.List getJobsOrBuilderList(); + java.util.List + getJobsOrBuilderList(); /** - * - * *
    * The resulting list of Jobs.
    * 
* * repeated .google.cloud.run.v2.Job jobs = 1; */ - com.google.cloud.run.v2.JobOrBuilder getJobsOrBuilder(int index); + com.google.cloud.run.v2.JobOrBuilder getJobsOrBuilder( + int index); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListJobs request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListJobs request to continue.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java index eff2477626d8..c141bde33d3a 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequest.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/run/v2/revision.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for retrieving a list of Revisions.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListRevisionsRequest} */ -public final class ListRevisionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRevisionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListRevisionsRequest) ListRevisionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRevisionsRequest.newBuilder() to construct. private ListRevisionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRevisionsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,35 +26,32 @@ private ListRevisionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRevisionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListRevisionsRequest.class, - com.google.cloud.run.v2.ListRevisionsRequest.Builder.class); + com.google.cloud.run.v2.ListRevisionsRequest.class, com.google.cloud.run.v2.ListRevisionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Service from which the Revisions should be listed.
    * To list all Revisions across Services, use "-" instead of Service name.
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/locations/{location}/services/{service}
    * 
* - * - * 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 @@ -92,15 +68,14 @@ 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 Service from which the Revisions should be listed.
    * To list all Revisions across Services, use "-" instead of Service name.
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * projects/{project}/locations/{location}/services/{service}
    * 
* - * - * 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 { @@ -130,14 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of revisions to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -148,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token received from a previous call to ListRevisions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -165,30 +133,30 @@ 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 page token received from a previous call to ListRevisions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @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 { @@ -199,14 +167,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -215,7 +180,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +191,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_); } @@ -253,13 +218,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,18 +236,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.run.v2.ListRevisionsRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.ListRevisionsRequest other = - (com.google.cloud.run.v2.ListRevisionsRequest) obj; + com.google.cloud.run.v2.ListRevisionsRequest other = (com.google.cloud.run.v2.ListRevisionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -299,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ListRevisionsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListRevisionsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListRevisionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest 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 retrieving a list of Revisions.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListRevisionsRequest} */ - 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.run.v2.ListRevisionsRequest) com.google.cloud.run.v2.ListRevisionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListRevisionsRequest.class, - com.google.cloud.run.v2.ListRevisionsRequest.Builder.class); + com.google.cloud.run.v2.ListRevisionsRequest.class, com.google.cloud.run.v2.ListRevisionsRequest.Builder.class); } // Construct using com.google.cloud.run.v2.ListRevisionsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; } @java.lang.Override @@ -471,8 +436,7 @@ public com.google.cloud.run.v2.ListRevisionsRequest build() { @java.lang.Override public com.google.cloud.run.v2.ListRevisionsRequest buildPartial() { - com.google.cloud.run.v2.ListRevisionsRequest result = - new com.google.cloud.run.v2.ListRevisionsRequest(this); + com.google.cloud.run.v2.ListRevisionsRequest result = new com.google.cloud.run.v2.ListRevisionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -485,39 +449,38 @@ public com.google.cloud.run.v2.ListRevisionsRequest 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.run.v2.ListRevisionsRequest) { - return mergeFrom((com.google.cloud.run.v2.ListRevisionsRequest) other); + return mergeFrom((com.google.cloud.run.v2.ListRevisionsRequest)other); } else { super.mergeFrom(other); return this; @@ -566,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - showDeleted_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + showDeleted_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -609,8 +567,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Service from which the Revisions should be listed.
      * To list all Revisions across Services, use "-" instead of Service name.
@@ -618,16 +574,14 @@ public Builder mergeFrom(
      * projects/{project}/locations/{location}/services/{service}
      * 
* - * - * 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; @@ -636,8 +590,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Service from which the Revisions should be listed.
      * To list all Revisions across Services, use "-" instead of Service name.
@@ -645,17 +597,16 @@ public java.lang.String getParent() {
      * projects/{project}/locations/{location}/services/{service}
      * 
* - * - * 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,8 +614,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Service from which the Revisions should be listed.
      * To list all Revisions across Services, use "-" instead of Service name.
@@ -672,25 +621,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * projects/{project}/locations/{location}/services/{service}
      * 
* - * - * 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 Service from which the Revisions should be listed.
      * To list all Revisions across Services, use "-" instead of Service name.
@@ -698,21 +643,16 @@ public Builder setParent(java.lang.String value) {
      * projects/{project}/locations/{location}/services/{service}
      * 
* - * - * 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 Service from which the Revisions should be listed.
      * To list all Revisions across Services, use "-" instead of Service name.
@@ -720,34 +660,29 @@ public Builder clearParent() {
      * projects/{project}/locations/{location}/services/{service}
      * 
* - * - * 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_ ; /** - * - * *
      * Maximum number of revisions to return in this call.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -755,36 +690,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of revisions to return in this call.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of revisions to return in this call.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -792,21 +721,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token received from a previous call to ListRevisions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; @@ -815,22 +742,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token received from a previous call to ListRevisions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 { @@ -838,79 +764,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token received from a previous call to ListRevisions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 page token received from a previous call to ListRevisions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token received from a previous call to ListRevisions.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -918,43 +834,37 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; 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); } @@ -964,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListRevisionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListRevisionsRequest) private static final com.google.cloud.run.v2.ListRevisionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListRevisionsRequest(); } @@ -978,27 +888,27 @@ public static com.google.cloud.run.v2.ListRevisionsRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRevisionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRevisionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1013,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListRevisionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java index 43da0fd74680..f2754c908199 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsRequestOrBuilder.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/run/v2/revision.proto package com.google.cloud.run.v2; -public interface ListRevisionsRequestOrBuilder - extends +public interface ListRevisionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListRevisionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Service from which the Revisions should be listed.
    * To list all Revisions across Services, use "-" instead of Service name.
@@ -33,16 +15,11 @@ public interface ListRevisionsRequestOrBuilder
    * projects/{project}/locations/{location}/services/{service}
    * 
* - * - * 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 Service from which the Revisions should be listed.
    * To list all Revisions across Services, use "-" instead of Service name.
@@ -50,63 +27,50 @@ public interface ListRevisionsRequestOrBuilder
    * projects/{project}/locations/{location}/services/{service}
    * 
* - * - * 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(); /** - * - * *
    * Maximum number of revisions to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token received from a previous call to ListRevisions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token received from a previous call to ListRevisions.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java index 2884356be5c7..46d413427ef4 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponse.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/run/v2/revision.proto package com.google.cloud.run.v2; /** - * - * *
  * Response message containing a list of Revisions.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListRevisionsResponse} */ -public final class ListRevisionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRevisionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListRevisionsResponse) ListRevisionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRevisionsResponse.newBuilder() to construct. private ListRevisionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRevisionsResponse() { revisions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListRevisionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRevisionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListRevisionsResponse.class, - com.google.cloud.run.v2.ListRevisionsResponse.Builder.class); + com.google.cloud.run.v2.ListRevisionsResponse.class, com.google.cloud.run.v2.ListRevisionsResponse.Builder.class); } public static final int REVISIONS_FIELD_NUMBER = 1; private java.util.List revisions_; /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -84,8 +63,6 @@ public java.util.List getRevisionsList() { return revisions_; } /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -93,13 +70,11 @@ public java.util.List getRevisionsList() { * repeated .google.cloud.run.v2.Revision revisions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRevisionsOrBuilderList() { return revisions_; } /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -111,8 +86,6 @@ public int getRevisionsCount() { return revisions_.size(); } /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.run.v2.Revision getRevisions(int index) { return revisions_.get(index); } /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -133,22 +104,20 @@ public com.google.cloud.run.v2.Revision getRevisions(int index) { * repeated .google.cloud.run.v2.Revision revisions = 1; */ @java.lang.Override - public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder(int index) { + public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder( + int index) { return revisions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListRevisions request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +126,30 @@ 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 indicating there are more items than page_size. Use it in the next
    * ListRevisions request to continue.
    * 
* * 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 { @@ -189,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +169,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 < revisions_.size(); i++) { output.writeMessage(1, revisions_.get(i)); } @@ -218,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < revisions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, revisions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, revisions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +201,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.run.v2.ListRevisionsResponse)) { return super.equals(obj); } - com.google.cloud.run.v2.ListRevisionsResponse other = - (com.google.cloud.run.v2.ListRevisionsResponse) obj; + com.google.cloud.run.v2.ListRevisionsResponse other = (com.google.cloud.run.v2.ListRevisionsResponse) obj; - if (!getRevisionsList().equals(other.getRevisionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRevisionsList() + .equals(other.getRevisionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +234,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ListRevisionsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListRevisionsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListRevisionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse 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 containing a list of Revisions.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListRevisionsResponse} */ - 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.run.v2.ListRevisionsResponse) com.google.cloud.run.v2.ListRevisionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListRevisionsResponse.class, - com.google.cloud.run.v2.ListRevisionsResponse.Builder.class); + com.google.cloud.run.v2.ListRevisionsResponse.class, com.google.cloud.run.v2.ListRevisionsResponse.Builder.class); } // Construct using com.google.cloud.run.v2.ListRevisionsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; } @java.lang.Override @@ -430,8 +395,7 @@ public com.google.cloud.run.v2.ListRevisionsResponse build() { @java.lang.Override public com.google.cloud.run.v2.ListRevisionsResponse buildPartial() { - com.google.cloud.run.v2.ListRevisionsResponse result = - new com.google.cloud.run.v2.ListRevisionsResponse(this); + com.google.cloud.run.v2.ListRevisionsResponse result = new com.google.cloud.run.v2.ListRevisionsResponse(this); int from_bitField0_ = bitField0_; if (revisionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +415,38 @@ public com.google.cloud.run.v2.ListRevisionsResponse 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.run.v2.ListRevisionsResponse) { - return mergeFrom((com.google.cloud.run.v2.ListRevisionsResponse) other); + return mergeFrom((com.google.cloud.run.v2.ListRevisionsResponse)other); } else { super.mergeFrom(other); return this; @@ -510,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.ListRevisionsResponse other) { revisionsBuilder_ = null; revisions_ = other.revisions_; bitField0_ = (bitField0_ & ~0x00000001); - revisionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRevisionsFieldBuilder() - : null; + revisionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRevisionsFieldBuilder() : null; } else { revisionsBuilder_.addAllMessages(other.revisions_); } @@ -549,31 +511,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.run.v2.Revision m = - input.readMessage(com.google.cloud.run.v2.Revision.parser(), extensionRegistry); - if (revisionsBuilder_ == null) { - ensureRevisionsIsMutable(); - revisions_.add(m); - } else { - revisionsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.run.v2.Revision m = + input.readMessage( + com.google.cloud.run.v2.Revision.parser(), + extensionRegistry); + if (revisionsBuilder_ == null) { + ensureRevisionsIsMutable(); + revisions_.add(m); + } else { + revisionsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -583,28 +544,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List revisions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRevisionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { revisions_ = new java.util.ArrayList(revisions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Revision, - com.google.cloud.run.v2.Revision.Builder, - com.google.cloud.run.v2.RevisionOrBuilder> - revisionsBuilder_; + com.google.cloud.run.v2.Revision, com.google.cloud.run.v2.Revision.Builder, com.google.cloud.run.v2.RevisionOrBuilder> revisionsBuilder_; /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -619,8 +573,6 @@ public java.util.List getRevisionsList() { } } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -635,8 +587,6 @@ public int getRevisionsCount() { } } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -651,15 +601,14 @@ public com.google.cloud.run.v2.Revision getRevisions(int index) { } } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public Builder setRevisions(int index, com.google.cloud.run.v2.Revision value) { + public Builder setRevisions( + int index, com.google.cloud.run.v2.Revision value) { if (revisionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,8 +622,6 @@ public Builder setRevisions(int index, com.google.cloud.run.v2.Revision value) { return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -693,8 +640,6 @@ public Builder setRevisions( return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -715,15 +660,14 @@ public Builder addRevisions(com.google.cloud.run.v2.Revision value) { return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public Builder addRevisions(int index, com.google.cloud.run.v2.Revision value) { + public Builder addRevisions( + int index, com.google.cloud.run.v2.Revision value) { if (revisionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -737,15 +681,14 @@ public Builder addRevisions(int index, com.google.cloud.run.v2.Revision value) { return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public Builder addRevisions(com.google.cloud.run.v2.Revision.Builder builderForValue) { + public Builder addRevisions( + com.google.cloud.run.v2.Revision.Builder builderForValue) { if (revisionsBuilder_ == null) { ensureRevisionsIsMutable(); revisions_.add(builderForValue.build()); @@ -756,8 +699,6 @@ public Builder addRevisions(com.google.cloud.run.v2.Revision.Builder builderForV return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -776,8 +717,6 @@ public Builder addRevisions( return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -788,7 +727,8 @@ public Builder addAllRevisions( java.lang.Iterable values) { if (revisionsBuilder_ == null) { ensureRevisionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, revisions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, revisions_); onChanged(); } else { revisionsBuilder_.addAllMessages(values); @@ -796,8 +736,6 @@ public Builder addAllRevisions( return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -815,8 +753,6 @@ public Builder clearRevisions() { return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -834,44 +770,39 @@ public Builder removeRevisions(int index) { return this; } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public com.google.cloud.run.v2.Revision.Builder getRevisionsBuilder(int index) { + public com.google.cloud.run.v2.Revision.Builder getRevisionsBuilder( + int index) { return getRevisionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder(int index) { + public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder( + int index) { if (revisionsBuilder_ == null) { - return revisions_.get(index); - } else { + return revisions_.get(index); } else { return revisionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public java.util.List - getRevisionsOrBuilderList() { + public java.util.List + getRevisionsOrBuilderList() { if (revisionsBuilder_ != null) { return revisionsBuilder_.getMessageOrBuilderList(); } else { @@ -879,8 +810,6 @@ public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder(int index } } /** - * - * *
      * The resulting list of Revisions.
      * 
@@ -888,47 +817,42 @@ public com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder(int index * repeated .google.cloud.run.v2.Revision revisions = 1; */ public com.google.cloud.run.v2.Revision.Builder addRevisionsBuilder() { - return getRevisionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Revision.getDefaultInstance()); + return getRevisionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Revision.getDefaultInstance()); } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public com.google.cloud.run.v2.Revision.Builder addRevisionsBuilder(int index) { - return getRevisionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Revision.getDefaultInstance()); + public com.google.cloud.run.v2.Revision.Builder addRevisionsBuilder( + int index) { + return getRevisionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Revision.getDefaultInstance()); } /** - * - * *
      * The resulting list of Revisions.
      * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - public java.util.List getRevisionsBuilderList() { + public java.util.List + getRevisionsBuilderList() { return getRevisionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Revision, - com.google.cloud.run.v2.Revision.Builder, - com.google.cloud.run.v2.RevisionOrBuilder> + com.google.cloud.run.v2.Revision, com.google.cloud.run.v2.Revision.Builder, com.google.cloud.run.v2.RevisionOrBuilder> getRevisionsFieldBuilder() { if (revisionsBuilder_ == null) { - revisionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Revision, - com.google.cloud.run.v2.Revision.Builder, - com.google.cloud.run.v2.RevisionOrBuilder>( - revisions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + revisionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Revision, com.google.cloud.run.v2.Revision.Builder, com.google.cloud.run.v2.RevisionOrBuilder>( + revisions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); revisions_ = null; } return revisionsBuilder_; @@ -936,21 +860,19 @@ public java.util.List getRevisionsBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListRevisions request to continue.
      * 
* * 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; @@ -959,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListRevisions request to continue.
      * 
* * 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 { @@ -982,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListRevisions request to continue.
      * 
* * 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 indicating there are more items than page_size. Use it in the next
      * ListRevisions request to continue.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListRevisions request to continue.
      * 
* * 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); } @@ -1056,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListRevisionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListRevisionsResponse) private static final com.google.cloud.run.v2.ListRevisionsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListRevisionsResponse(); } @@ -1070,27 +984,27 @@ public static com.google.cloud.run.v2.ListRevisionsResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRevisionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRevisionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListRevisionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java similarity index 65% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java index 989c91f8e20b..6755d07f2ede 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListRevisionsResponseOrBuilder.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/run/v2/revision.proto package com.google.cloud.run.v2; -public interface ListRevisionsResponseOrBuilder - extends +public interface ListRevisionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListRevisionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting list of Revisions.
    * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - java.util.List getRevisionsList(); + java.util.List + getRevisionsList(); /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -44,8 +25,6 @@ public interface ListRevisionsResponseOrBuilder */ com.google.cloud.run.v2.Revision getRevisions(int index); /** - * - * *
    * The resulting list of Revisions.
    * 
@@ -54,50 +33,43 @@ public interface ListRevisionsResponseOrBuilder */ int getRevisionsCount(); /** - * - * *
    * The resulting list of Revisions.
    * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - java.util.List getRevisionsOrBuilderList(); + java.util.List + getRevisionsOrBuilderList(); /** - * - * *
    * The resulting list of Revisions.
    * 
* * repeated .google.cloud.run.v2.Revision revisions = 1; */ - com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder(int index); + com.google.cloud.run.v2.RevisionOrBuilder getRevisionsOrBuilder( + int index); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListRevisions request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListRevisions request to continue.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java similarity index 64% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java index 4f0bdf7fc1a0..dd1e49d0f2e7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequest.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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for retrieving a list of Services.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListServicesRequest} */ -public final class ListServicesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServicesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListServicesRequest) ListServicesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServicesRequest.newBuilder() to construct. private ListServicesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServicesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,45 +26,40 @@ private ListServicesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServicesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListServicesRequest.class, - com.google.cloud.run.v2.ListServicesRequest.Builder.class); + com.google.cloud.run.v2.ListServicesRequest.class, com.google.cloud.run.v2.ListServicesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 @@ -91,33 +68,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 and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 { @@ -128,14 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Services to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token received from a previous call to ListServices.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -163,30 +133,30 @@ 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 page token received from a previous call to ListServices.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @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 { @@ -197,14 +167,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -213,7 +180,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +191,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_); } @@ -251,13 +218,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -267,18 +236,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.run.v2.ListServicesRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.ListServicesRequest other = - (com.google.cloud.run.v2.ListServicesRequest) obj; + com.google.cloud.run.v2.ListServicesRequest other = (com.google.cloud.run.v2.ListServicesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -297,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ListServicesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListServicesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListServicesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest 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 retrieving a list of Services.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListServicesRequest} */ - 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.run.v2.ListServicesRequest) com.google.cloud.run.v2.ListServicesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListServicesRequest.class, - com.google.cloud.run.v2.ListServicesRequest.Builder.class); + com.google.cloud.run.v2.ListServicesRequest.class, com.google.cloud.run.v2.ListServicesRequest.Builder.class); } // Construct using com.google.cloud.run.v2.ListServicesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -448,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; } @java.lang.Override @@ -469,8 +436,7 @@ public com.google.cloud.run.v2.ListServicesRequest build() { @java.lang.Override public com.google.cloud.run.v2.ListServicesRequest buildPartial() { - com.google.cloud.run.v2.ListServicesRequest result = - new com.google.cloud.run.v2.ListServicesRequest(this); + com.google.cloud.run.v2.ListServicesRequest result = new com.google.cloud.run.v2.ListServicesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -483,39 +449,38 @@ public com.google.cloud.run.v2.ListServicesRequest 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.run.v2.ListServicesRequest) { - return mergeFrom((com.google.cloud.run.v2.ListServicesRequest) other); + return mergeFrom((com.google.cloud.run.v2.ListServicesRequest)other); } else { super.mergeFrom(other); return this; @@ -564,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - showDeleted_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + showDeleted_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,24 +567,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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; @@ -633,25 +590,23 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 { @@ -659,88 +614,75 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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 and project to list resources on.
-     * Location must be a valid GCP region, and may not be the "-" wildcard.
-     * Format: projects/{project}/locations/{location}
+     * Location must be a valid GCP region, and cannot be the "-" wildcard.
+     * Format: projects/{project}/locations/{location}, where {project} can be
+     * project id or number.
      * 
* - * - * 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_ ; /** - * - * *
      * Maximum number of Services to return in this call.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -748,36 +690,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Services to return in this call.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Services to return in this call.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -785,21 +721,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token received from a previous call to ListServices.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; @@ -808,22 +742,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token received from a previous call to ListServices.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 { @@ -831,79 +764,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token received from a previous call to ListServices.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 page token received from a previous call to ListServices.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token received from a previous call to ListServices.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -911,43 +834,37 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; 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); } @@ -957,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListServicesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListServicesRequest) private static final com.google.cloud.run.v2.ListServicesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListServicesRequest(); } @@ -971,27 +888,27 @@ public static com.google.cloud.run.v2.ListServicesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServicesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServicesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListServicesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java similarity index 51% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java index e70688df53d7..45b1a7817dc1 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesRequestOrBuilder.java @@ -1,110 +1,76 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; -public interface ListServicesRequestOrBuilder - extends +public interface ListServicesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListServicesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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 and project to list resources on.
-   * Location must be a valid GCP region, and may not be the "-" wildcard.
-   * Format: projects/{project}/locations/{location}
+   * Location must be a valid GCP region, and cannot be the "-" wildcard.
+   * Format: projects/{project}/locations/{location}, where {project} can be
+   * project id or number.
    * 
* - * - * 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(); /** - * - * *
    * Maximum number of Services to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token received from a previous call to ListServices.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token received from a previous call to ListServices.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java similarity index 71% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java index 2e3725f9ab79..0b68370d69dc 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponse.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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Response message containing a list of Services.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListServicesResponse} */ -public final class ListServicesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListServicesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListServicesResponse) ListServicesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListServicesResponse.newBuilder() to construct. private ListServicesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListServicesResponse() { services_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListServicesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListServicesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListServicesResponse.class, - com.google.cloud.run.v2.ListServicesResponse.Builder.class); + com.google.cloud.run.v2.ListServicesResponse.class, com.google.cloud.run.v2.ListServicesResponse.Builder.class); } public static final int SERVICES_FIELD_NUMBER = 1; private java.util.List services_; /** - * - * *
    * The resulting list of Services.
    * 
@@ -84,8 +63,6 @@ public java.util.List getServicesList() { return services_; } /** - * - * *
    * The resulting list of Services.
    * 
@@ -93,13 +70,11 @@ public java.util.List getServicesList() { * repeated .google.cloud.run.v2.Service services = 1; */ @java.lang.Override - public java.util.List + public java.util.List getServicesOrBuilderList() { return services_; } /** - * - * *
    * The resulting list of Services.
    * 
@@ -111,8 +86,6 @@ public int getServicesCount() { return services_.size(); } /** - * - * *
    * The resulting list of Services.
    * 
@@ -124,8 +97,6 @@ public com.google.cloud.run.v2.Service getServices(int index) { return services_.get(index); } /** - * - * *
    * The resulting list of Services.
    * 
@@ -133,22 +104,20 @@ public com.google.cloud.run.v2.Service getServices(int index) { * repeated .google.cloud.run.v2.Service services = 1; */ @java.lang.Override - public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder(int index) { + public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder( + int index) { return services_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListServices request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,30 +126,30 @@ 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 indicating there are more items than page_size. Use it in the next
    * ListServices request to continue.
    * 
* * 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 { @@ -189,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +169,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 < services_.size(); i++) { output.writeMessage(1, services_.get(i)); } @@ -218,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < services_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, services_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, services_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -231,16 +201,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.run.v2.ListServicesResponse)) { return super.equals(obj); } - com.google.cloud.run.v2.ListServicesResponse other = - (com.google.cloud.run.v2.ListServicesResponse) obj; + com.google.cloud.run.v2.ListServicesResponse other = (com.google.cloud.run.v2.ListServicesResponse) obj; - if (!getServicesList().equals(other.getServicesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getServicesList() + .equals(other.getServicesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -263,136 +234,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ListServicesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListServicesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListServicesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse 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 containing a list of Services.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListServicesResponse} */ - 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.run.v2.ListServicesResponse) com.google.cloud.run.v2.ListServicesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListServicesResponse.class, - com.google.cloud.run.v2.ListServicesResponse.Builder.class); + com.google.cloud.run.v2.ListServicesResponse.class, com.google.cloud.run.v2.ListServicesResponse.Builder.class); } // Construct using com.google.cloud.run.v2.ListServicesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -409,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; } @java.lang.Override @@ -430,8 +395,7 @@ public com.google.cloud.run.v2.ListServicesResponse build() { @java.lang.Override public com.google.cloud.run.v2.ListServicesResponse buildPartial() { - com.google.cloud.run.v2.ListServicesResponse result = - new com.google.cloud.run.v2.ListServicesResponse(this); + com.google.cloud.run.v2.ListServicesResponse result = new com.google.cloud.run.v2.ListServicesResponse(this); int from_bitField0_ = bitField0_; if (servicesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -451,39 +415,38 @@ public com.google.cloud.run.v2.ListServicesResponse 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.run.v2.ListServicesResponse) { - return mergeFrom((com.google.cloud.run.v2.ListServicesResponse) other); + return mergeFrom((com.google.cloud.run.v2.ListServicesResponse)other); } else { super.mergeFrom(other); return this; @@ -510,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.ListServicesResponse other) { servicesBuilder_ = null; services_ = other.services_; bitField0_ = (bitField0_ & ~0x00000001); - servicesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getServicesFieldBuilder() - : null; + servicesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getServicesFieldBuilder() : null; } else { servicesBuilder_.addAllMessages(other.services_); } @@ -549,31 +511,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.run.v2.Service m = - input.readMessage(com.google.cloud.run.v2.Service.parser(), extensionRegistry); - if (servicesBuilder_ == null) { - ensureServicesIsMutable(); - services_.add(m); - } else { - servicesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.run.v2.Service m = + input.readMessage( + com.google.cloud.run.v2.Service.parser(), + extensionRegistry); + if (servicesBuilder_ == null) { + ensureServicesIsMutable(); + services_.add(m); + } else { + servicesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -583,28 +544,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List services_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureServicesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { services_ = new java.util.ArrayList(services_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> - servicesBuilder_; + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> servicesBuilder_; /** - * - * *
      * The resulting list of Services.
      * 
@@ -619,8 +573,6 @@ public java.util.List getServicesList() { } } /** - * - * *
      * The resulting list of Services.
      * 
@@ -635,8 +587,6 @@ public int getServicesCount() { } } /** - * - * *
      * The resulting list of Services.
      * 
@@ -651,15 +601,14 @@ public com.google.cloud.run.v2.Service getServices(int index) { } } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public Builder setServices(int index, com.google.cloud.run.v2.Service value) { + public Builder setServices( + int index, com.google.cloud.run.v2.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -673,15 +622,14 @@ public Builder setServices(int index, com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public Builder setServices(int index, com.google.cloud.run.v2.Service.Builder builderForValue) { + public Builder setServices( + int index, com.google.cloud.run.v2.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.set(index, builderForValue.build()); @@ -692,8 +640,6 @@ public Builder setServices(int index, com.google.cloud.run.v2.Service.Builder bu return this; } /** - * - * *
      * The resulting list of Services.
      * 
@@ -714,15 +660,14 @@ public Builder addServices(com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public Builder addServices(int index, com.google.cloud.run.v2.Service value) { + public Builder addServices( + int index, com.google.cloud.run.v2.Service value) { if (servicesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -736,15 +681,14 @@ public Builder addServices(int index, com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public Builder addServices(com.google.cloud.run.v2.Service.Builder builderForValue) { + public Builder addServices( + com.google.cloud.run.v2.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(builderForValue.build()); @@ -755,15 +699,14 @@ public Builder addServices(com.google.cloud.run.v2.Service.Builder builderForVal return this; } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public Builder addServices(int index, com.google.cloud.run.v2.Service.Builder builderForValue) { + public Builder addServices( + int index, com.google.cloud.run.v2.Service.Builder builderForValue) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); services_.add(index, builderForValue.build()); @@ -774,8 +717,6 @@ public Builder addServices(int index, com.google.cloud.run.v2.Service.Builder bu return this; } /** - * - * *
      * The resulting list of Services.
      * 
@@ -786,7 +727,8 @@ public Builder addAllServices( java.lang.Iterable values) { if (servicesBuilder_ == null) { ensureServicesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, services_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, services_); onChanged(); } else { servicesBuilder_.addAllMessages(values); @@ -794,8 +736,6 @@ public Builder addAllServices( return this; } /** - * - * *
      * The resulting list of Services.
      * 
@@ -813,8 +753,6 @@ public Builder clearServices() { return this; } /** - * - * *
      * The resulting list of Services.
      * 
@@ -832,44 +770,39 @@ public Builder removeServices(int index) { return this; } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public com.google.cloud.run.v2.Service.Builder getServicesBuilder(int index) { + public com.google.cloud.run.v2.Service.Builder getServicesBuilder( + int index) { return getServicesFieldBuilder().getBuilder(index); } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder(int index) { + public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder( + int index) { if (servicesBuilder_ == null) { - return services_.get(index); - } else { + return services_.get(index); } else { return servicesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public java.util.List - getServicesOrBuilderList() { + public java.util.List + getServicesOrBuilderList() { if (servicesBuilder_ != null) { return servicesBuilder_.getMessageOrBuilderList(); } else { @@ -877,8 +810,6 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder(int index) } } /** - * - * *
      * The resulting list of Services.
      * 
@@ -886,47 +817,42 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder(int index) * repeated .google.cloud.run.v2.Service services = 1; */ public com.google.cloud.run.v2.Service.Builder addServicesBuilder() { - return getServicesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Service.getDefaultInstance()); + return getServicesFieldBuilder().addBuilder( + com.google.cloud.run.v2.Service.getDefaultInstance()); } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public com.google.cloud.run.v2.Service.Builder addServicesBuilder(int index) { - return getServicesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Service.getDefaultInstance()); + public com.google.cloud.run.v2.Service.Builder addServicesBuilder( + int index) { + return getServicesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Service.getDefaultInstance()); } /** - * - * *
      * The resulting list of Services.
      * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - public java.util.List getServicesBuilderList() { + public java.util.List + getServicesBuilderList() { return getServicesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> getServicesFieldBuilder() { if (servicesBuilder_ == null) { - servicesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder>( - services_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + servicesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder>( + services_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); services_ = null; } return servicesBuilder_; @@ -934,21 +860,19 @@ public java.util.List getServicesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListServices request to continue.
      * 
* * 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; @@ -957,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListServices request to continue.
      * 
* * 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 { @@ -980,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListServices request to continue.
      * 
* * 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 indicating there are more items than page_size. Use it in the next
      * ListServices request to continue.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListServices request to continue.
      * 
* * 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); } @@ -1054,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListServicesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListServicesResponse) private static final com.google.cloud.run.v2.ListServicesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListServicesResponse(); } @@ -1068,27 +984,27 @@ public static com.google.cloud.run.v2.ListServicesResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListServicesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListServicesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListServicesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java similarity index 65% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java index af2c849ac8fc..9c9c363a2032 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListServicesResponseOrBuilder.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/run/v2/service.proto package com.google.cloud.run.v2; -public interface ListServicesResponseOrBuilder - extends +public interface ListServicesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListServicesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting list of Services.
    * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - java.util.List getServicesList(); + java.util.List + getServicesList(); /** - * - * *
    * The resulting list of Services.
    * 
@@ -44,8 +25,6 @@ public interface ListServicesResponseOrBuilder */ com.google.cloud.run.v2.Service getServices(int index); /** - * - * *
    * The resulting list of Services.
    * 
@@ -54,50 +33,43 @@ public interface ListServicesResponseOrBuilder */ int getServicesCount(); /** - * - * *
    * The resulting list of Services.
    * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - java.util.List getServicesOrBuilderList(); + java.util.List + getServicesOrBuilderList(); /** - * - * *
    * The resulting list of Services.
    * 
* * repeated .google.cloud.run.v2.Service services = 1; */ - com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder(int index); + com.google.cloud.run.v2.ServiceOrBuilder getServicesOrBuilder( + int index); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListServices request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListServices request to continue.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java index a21654c8865c..4f177b27f8be 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequest.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/run/v2/task.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for retrieving a list of Tasks.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListTasksRequest} */ -public final class ListTasksRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTasksRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListTasksRequest) ListTasksRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTasksRequest.newBuilder() to construct. private ListTasksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTasksRequest() { parent_ = ""; pageToken_ = ""; @@ -44,35 +26,32 @@ private ListTasksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTasksRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListTasksRequest.class, - com.google.cloud.run.v2.ListTasksRequest.Builder.class); + com.google.cloud.run.v2.ListTasksRequest.class, com.google.cloud.run.v2.ListTasksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The Execution from which the Tasks should be listed.
    * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
    * 
* - * - * 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 @@ -92,15 +68,14 @@ 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 Execution from which the Tasks should be listed.
    * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -108,18 +83,17 @@ public java.lang.String getParent() {
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
    * 
* - * - * 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 { @@ -130,14 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of Tasks to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -148,15 +119,12 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token received from a previous call to ListTasks.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -165,30 +133,30 @@ 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 page token received from a previous call to ListTasks.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @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 { @@ -199,14 +167,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int SHOW_DELETED_FIELD_NUMBER = 4; private boolean showDeleted_; /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -215,7 +180,6 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,7 +191,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_); } @@ -253,13 +218,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (showDeleted_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, showDeleted_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, showDeleted_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -269,17 +236,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.run.v2.ListTasksRequest)) { return super.equals(obj); } com.google.cloud.run.v2.ListTasksRequest other = (com.google.cloud.run.v2.ListTasksRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (getShowDeleted() != other.getShowDeleted()) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (getShowDeleted() + != other.getShowDeleted()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,142 +269,137 @@ public int hashCode() { hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getPageToken().hashCode(); hash = (37 * hash) + SHOW_DELETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getShowDeleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getShowDeleted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ListTasksRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListTasksRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListTasksRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest 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 retrieving a list of Tasks.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListTasksRequest} */ - 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.run.v2.ListTasksRequest) com.google.cloud.run.v2.ListTasksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListTasksRequest.class, - com.google.cloud.run.v2.ListTasksRequest.Builder.class); + com.google.cloud.run.v2.ListTasksRequest.class, com.google.cloud.run.v2.ListTasksRequest.Builder.class); } // Construct using com.google.cloud.run.v2.ListTasksRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +415,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; } @java.lang.Override @@ -470,8 +436,7 @@ public com.google.cloud.run.v2.ListTasksRequest build() { @java.lang.Override public com.google.cloud.run.v2.ListTasksRequest buildPartial() { - com.google.cloud.run.v2.ListTasksRequest result = - new com.google.cloud.run.v2.ListTasksRequest(this); + com.google.cloud.run.v2.ListTasksRequest result = new com.google.cloud.run.v2.ListTasksRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -484,39 +449,38 @@ public com.google.cloud.run.v2.ListTasksRequest 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.run.v2.ListTasksRequest) { - return mergeFrom((com.google.cloud.run.v2.ListTasksRequest) other); + return mergeFrom((com.google.cloud.run.v2.ListTasksRequest)other); } else { super.mergeFrom(other); return this; @@ -565,37 +529,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 32: - { - showDeleted_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 32: { + showDeleted_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -608,8 +567,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The Execution from which the Tasks should be listed.
      * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -617,16 +574,14 @@ public Builder mergeFrom(
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
      * 
* - * - * 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; @@ -635,8 +590,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The Execution from which the Tasks should be listed.
      * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -644,17 +597,16 @@ public java.lang.String getParent() {
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
      * 
* - * - * 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 { @@ -662,8 +614,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The Execution from which the Tasks should be listed.
      * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -671,25 +621,21 @@ public com.google.protobuf.ByteString getParentBytes() {
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
      * 
* - * - * 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 Execution from which the Tasks should be listed.
      * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -697,21 +643,16 @@ public Builder setParent(java.lang.String value) {
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
      * 
* - * - * 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 Execution from which the Tasks should be listed.
      * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -719,34 +660,29 @@ public Builder clearParent() {
      * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
      * 
* - * - * 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_ ; /** - * - * *
      * Maximum number of Tasks to return in this call.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -754,36 +690,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of Tasks to return in this call.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of Tasks to return in this call.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -791,21 +721,19 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token received from a previous call to ListTasks.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; @@ -814,22 +742,21 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token received from a previous call to ListTasks.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 { @@ -837,79 +764,69 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token received from a previous call to ListTasks.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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 page token received from a previous call to ListTasks.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token received from a previous call to ListTasks.
      * All other parameters must match.
      * 
* * string page_token = 3; - * * @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; } - private boolean showDeleted_; + private boolean showDeleted_ ; /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ @java.lang.Override @@ -917,43 +834,37 @@ public boolean getShowDeleted() { return showDeleted_; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @param value The showDeleted to set. * @return This builder for chaining. */ public Builder setShowDeleted(boolean value) { - + showDeleted_ = value; onChanged(); return this; } /** - * - * *
      * If true, returns deleted (but unexpired) resources along with active ones.
      * 
* * bool show_deleted = 4; - * * @return This builder for chaining. */ public Builder clearShowDeleted() { - + showDeleted_ = false; 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); } @@ -963,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListTasksRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListTasksRequest) private static final com.google.cloud.run.v2.ListTasksRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListTasksRequest(); } @@ -977,27 +888,27 @@ public static com.google.cloud.run.v2.ListTasksRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,4 +923,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListTasksRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java similarity index 63% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java index 1fbb9728d4ed..3c10e76e4ffa 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksRequestOrBuilder.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/run/v2/task.proto package com.google.cloud.run.v2; -public interface ListTasksRequestOrBuilder - extends +public interface ListTasksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListTasksRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Execution from which the Tasks should be listed.
    * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -33,16 +15,11 @@ public interface ListTasksRequestOrBuilder
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
    * 
* - * - * 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 Execution from which the Tasks should be listed.
    * To list all Tasks across Executions of a Job, use "-" instead of Execution
@@ -50,63 +27,50 @@ public interface ListTasksRequestOrBuilder
    * projects/{project}/locations/{location}/jobs/{job}/executions/{execution}
    * 
* - * - * 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(); /** - * - * *
    * Maximum number of Tasks to return in this call.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token received from a previous call to ListTasks.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token received from a previous call to ListTasks.
    * All other parameters must match.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * If true, returns deleted (but unexpired) resources along with active ones.
    * 
* * bool show_deleted = 4; - * * @return The showDeleted. */ boolean getShowDeleted(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java index 0a2a106742c5..34860fbe876c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponse.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/run/v2/task.proto package com.google.cloud.run.v2; /** - * - * *
  * Response message containing a list of Tasks.
  * 
* * Protobuf type {@code google.cloud.run.v2.ListTasksResponse} */ -public final class ListTasksResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTasksResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ListTasksResponse) ListTasksResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTasksResponse.newBuilder() to construct. private ListTasksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTasksResponse() { tasks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,35 +26,32 @@ private ListTasksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTasksResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListTasksResponse.class, - com.google.cloud.run.v2.ListTasksResponse.Builder.class); + com.google.cloud.run.v2.ListTasksResponse.class, com.google.cloud.run.v2.ListTasksResponse.Builder.class); } public static final int TASKS_FIELD_NUMBER = 1; private java.util.List tasks_; /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -84,8 +63,6 @@ public java.util.List getTasksList() { return tasks_; } /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -93,12 +70,11 @@ public java.util.List getTasksList() { * repeated .google.cloud.run.v2.Task tasks = 1; */ @java.lang.Override - public java.util.List getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { return tasks_; } /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -110,8 +86,6 @@ public int getTasksCount() { return tasks_.size(); } /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -123,8 +97,6 @@ public com.google.cloud.run.v2.Task getTasks(int index) { return tasks_.get(index); } /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -132,22 +104,20 @@ public com.google.cloud.run.v2.Task getTasks(int index) { * repeated .google.cloud.run.v2.Task tasks = 1; */ @java.lang.Override - public com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder( + int index) { return tasks_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListTasks request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -156,30 +126,30 @@ 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 indicating there are more items than page_size. Use it in the next
    * ListTasks request to continue.
    * 
* * 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 { @@ -188,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +169,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 < tasks_.size(); i++) { output.writeMessage(1, tasks_.get(i)); } @@ -217,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tasks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tasks_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tasks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +201,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.run.v2.ListTasksResponse)) { return super.equals(obj); } - com.google.cloud.run.v2.ListTasksResponse other = - (com.google.cloud.run.v2.ListTasksResponse) obj; + com.google.cloud.run.v2.ListTasksResponse other = (com.google.cloud.run.v2.ListTasksResponse) obj; - if (!getTasksList().equals(other.getTasksList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTasksList() + .equals(other.getTasksList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,136 +234,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.ListTasksResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ListTasksResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ListTasksResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse 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 containing a list of Tasks.
    * 
* * Protobuf type {@code google.cloud.run.v2.ListTasksResponse} */ - 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.run.v2.ListTasksResponse) com.google.cloud.run.v2.ListTasksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ListTasksResponse.class, - com.google.cloud.run.v2.ListTasksResponse.Builder.class); + com.google.cloud.run.v2.ListTasksResponse.class, com.google.cloud.run.v2.ListTasksResponse.Builder.class); } // Construct using com.google.cloud.run.v2.ListTasksResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +374,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; } @java.lang.Override @@ -429,8 +395,7 @@ public com.google.cloud.run.v2.ListTasksResponse build() { @java.lang.Override public com.google.cloud.run.v2.ListTasksResponse buildPartial() { - com.google.cloud.run.v2.ListTasksResponse result = - new com.google.cloud.run.v2.ListTasksResponse(this); + com.google.cloud.run.v2.ListTasksResponse result = new com.google.cloud.run.v2.ListTasksResponse(this); int from_bitField0_ = bitField0_; if (tasksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -450,39 +415,38 @@ public com.google.cloud.run.v2.ListTasksResponse 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.run.v2.ListTasksResponse) { - return mergeFrom((com.google.cloud.run.v2.ListTasksResponse) other); + return mergeFrom((com.google.cloud.run.v2.ListTasksResponse)other); } else { super.mergeFrom(other); return this; @@ -509,10 +473,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.ListTasksResponse other) { tasksBuilder_ = null; tasks_ = other.tasks_; bitField0_ = (bitField0_ & ~0x00000001); - tasksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTasksFieldBuilder() - : null; + tasksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTasksFieldBuilder() : null; } else { tasksBuilder_.addAllMessages(other.tasks_); } @@ -548,31 +511,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.cloud.run.v2.Task m = - input.readMessage(com.google.cloud.run.v2.Task.parser(), extensionRegistry); - if (tasksBuilder_ == null) { - ensureTasksIsMutable(); - tasks_.add(m); - } else { - tasksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: { + com.google.cloud.run.v2.Task m = + input.readMessage( + com.google.cloud.run.v2.Task.parser(), + extensionRegistry); + if (tasksBuilder_ == null) { + ensureTasksIsMutable(); + tasks_.add(m); + } else { + tasksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -582,27 +544,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List tasks_ = java.util.Collections.emptyList(); - + private java.util.List tasks_ = + java.util.Collections.emptyList(); private void ensureTasksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tasks_ = new java.util.ArrayList(tasks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Task, - com.google.cloud.run.v2.Task.Builder, - com.google.cloud.run.v2.TaskOrBuilder> - tasksBuilder_; + com.google.cloud.run.v2.Task, com.google.cloud.run.v2.Task.Builder, com.google.cloud.run.v2.TaskOrBuilder> tasksBuilder_; /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -617,8 +573,6 @@ public java.util.List getTasksList() { } } /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -633,8 +587,6 @@ public int getTasksCount() { } } /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -649,15 +601,14 @@ public com.google.cloud.run.v2.Task getTasks(int index) { } } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.run.v2.Task value) { + public Builder setTasks( + int index, com.google.cloud.run.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -671,15 +622,14 @@ public Builder setTasks(int index, com.google.cloud.run.v2.Task value) { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder setTasks(int index, com.google.cloud.run.v2.Task.Builder builderForValue) { + public Builder setTasks( + int index, com.google.cloud.run.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.set(index, builderForValue.build()); @@ -690,8 +640,6 @@ public Builder setTasks(int index, com.google.cloud.run.v2.Task.Builder builderF return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -712,15 +660,14 @@ public Builder addTasks(com.google.cloud.run.v2.Task value) { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.run.v2.Task value) { + public Builder addTasks( + int index, com.google.cloud.run.v2.Task value) { if (tasksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -734,15 +681,14 @@ public Builder addTasks(int index, com.google.cloud.run.v2.Task value) { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder addTasks(com.google.cloud.run.v2.Task.Builder builderForValue) { + public Builder addTasks( + com.google.cloud.run.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(builderForValue.build()); @@ -753,15 +699,14 @@ public Builder addTasks(com.google.cloud.run.v2.Task.Builder builderForValue) { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder addTasks(int index, com.google.cloud.run.v2.Task.Builder builderForValue) { + public Builder addTasks( + int index, com.google.cloud.run.v2.Task.Builder builderForValue) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); tasks_.add(index, builderForValue.build()); @@ -772,18 +717,18 @@ public Builder addTasks(int index, com.google.cloud.run.v2.Task.Builder builderF return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public Builder addAllTasks(java.lang.Iterable values) { + public Builder addAllTasks( + java.lang.Iterable values) { if (tasksBuilder_ == null) { ensureTasksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tasks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tasks_); onChanged(); } else { tasksBuilder_.addAllMessages(values); @@ -791,8 +736,6 @@ public Builder addAllTasks(java.lang.Iterable * The resulting list of Tasks. *
@@ -810,8 +753,6 @@ public Builder clearTasks() { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -829,43 +770,39 @@ public Builder removeTasks(int index) { return this; } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public com.google.cloud.run.v2.Task.Builder getTasksBuilder(int index) { + public com.google.cloud.run.v2.Task.Builder getTasksBuilder( + int index) { return getTasksFieldBuilder().getBuilder(index); } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder(int index) { + public com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder( + int index) { if (tasksBuilder_ == null) { - return tasks_.get(index); - } else { + return tasks_.get(index); } else { return tasksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public java.util.List getTasksOrBuilderList() { + public java.util.List + getTasksOrBuilderList() { if (tasksBuilder_ != null) { return tasksBuilder_.getMessageOrBuilderList(); } else { @@ -873,8 +810,6 @@ public java.util.List getTasksO } } /** - * - * *
      * The resulting list of Tasks.
      * 
@@ -882,46 +817,42 @@ public java.util.List getTasksO * repeated .google.cloud.run.v2.Task tasks = 1; */ public com.google.cloud.run.v2.Task.Builder addTasksBuilder() { - return getTasksFieldBuilder().addBuilder(com.google.cloud.run.v2.Task.getDefaultInstance()); + return getTasksFieldBuilder().addBuilder( + com.google.cloud.run.v2.Task.getDefaultInstance()); } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public com.google.cloud.run.v2.Task.Builder addTasksBuilder(int index) { - return getTasksFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Task.getDefaultInstance()); + public com.google.cloud.run.v2.Task.Builder addTasksBuilder( + int index) { + return getTasksFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Task.getDefaultInstance()); } /** - * - * *
      * The resulting list of Tasks.
      * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - public java.util.List getTasksBuilderList() { + public java.util.List + getTasksBuilderList() { return getTasksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Task, - com.google.cloud.run.v2.Task.Builder, - com.google.cloud.run.v2.TaskOrBuilder> + com.google.cloud.run.v2.Task, com.google.cloud.run.v2.Task.Builder, com.google.cloud.run.v2.TaskOrBuilder> getTasksFieldBuilder() { if (tasksBuilder_ == null) { - tasksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Task, - com.google.cloud.run.v2.Task.Builder, - com.google.cloud.run.v2.TaskOrBuilder>( - tasks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Task, com.google.cloud.run.v2.Task.Builder, com.google.cloud.run.v2.TaskOrBuilder>( + tasks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tasks_ = null; } return tasksBuilder_; @@ -929,21 +860,19 @@ public java.util.List getTasksBuilderList( private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListTasks request to continue.
      * 
* * 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; @@ -952,22 +881,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListTasks request to continue.
      * 
* * 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 { @@ -975,71 +903,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListTasks request to continue.
      * 
* * 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 indicating there are more items than page_size. Use it in the next
      * ListTasks request to continue.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token indicating there are more items than page_size. Use it in the next
      * ListTasks request to continue.
      * 
* * 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); } @@ -1049,12 +970,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ListTasksResponse) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ListTasksResponse) private static final com.google.cloud.run.v2.ListTasksResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ListTasksResponse(); } @@ -1063,27 +984,27 @@ public static com.google.cloud.run.v2.ListTasksResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTasksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTasksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1098,4 +1019,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ListTasksResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java similarity index 63% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java index 400af862b4a6..7ab3aea84d69 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ListTasksResponseOrBuilder.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/run/v2/task.proto package com.google.cloud.run.v2; -public interface ListTasksResponseOrBuilder - extends +public interface ListTasksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ListTasksResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting list of Tasks.
    * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - java.util.List getTasksList(); + java.util.List + getTasksList(); /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -44,8 +25,6 @@ public interface ListTasksResponseOrBuilder */ com.google.cloud.run.v2.Task getTasks(int index); /** - * - * *
    * The resulting list of Tasks.
    * 
@@ -54,50 +33,43 @@ public interface ListTasksResponseOrBuilder */ int getTasksCount(); /** - * - * *
    * The resulting list of Tasks.
    * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - java.util.List getTasksOrBuilderList(); + java.util.List + getTasksOrBuilderList(); /** - * - * *
    * The resulting list of Tasks.
    * 
* * repeated .google.cloud.run.v2.Task tasks = 1; */ - com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder(int index); + com.google.cloud.run.v2.TaskOrBuilder getTasksOrBuilder( + int index); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListTasks request to continue.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token indicating there are more items than page_size. Use it in the next
    * ListTasks request to continue.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/LocationName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/LocationName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/LocationName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/LocationName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java similarity index 62% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java index 63e96b8b35af..1ce3d4c142c3 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Probe.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * Probe describes a health check to be performed against a container to
  * determine whether it is alive or ready to receive traffic.
@@ -28,54 +11,53 @@
  *
  * Protobuf type {@code google.cloud.run.v2.Probe}
  */
-public final class Probe extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Probe extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Probe)
     ProbeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Probe.newBuilder() to construct.
   private Probe(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Probe() {}
+  private Probe() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Probe();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Probe_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_Probe_fieldAccessorTable
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Probe_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.run.v2.Probe.class, com.google.cloud.run.v2.Probe.Builder.class);
   }
 
   private int probeTypeCase_ = 0;
   private java.lang.Object probeType_;
-
   public enum ProbeTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     HTTP_GET(5),
     TCP_SOCKET(6),
+    GRPC(7),
     PROBETYPE_NOT_SET(0);
     private final int value;
-
     private ProbeTypeCase(int value) {
       this.value = value;
     }
@@ -91,31 +73,27 @@ public static ProbeTypeCase valueOf(int value) {
 
     public static ProbeTypeCase forNumber(int value) {
       switch (value) {
-        case 5:
-          return HTTP_GET;
-        case 6:
-          return TCP_SOCKET;
-        case 0:
-          return PROBETYPE_NOT_SET;
-        default:
-          return null;
+        case 5: return HTTP_GET;
+        case 6: return TCP_SOCKET;
+        case 7: return GRPC;
+        case 0: return PROBETYPE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public ProbeTypeCase getProbeTypeCase() {
-    return ProbeTypeCase.forNumber(probeTypeCase_);
+  public ProbeTypeCase
+  getProbeTypeCase() {
+    return ProbeTypeCase.forNumber(
+        probeTypeCase_);
   }
 
   public static final int INITIAL_DELAY_SECONDS_FIELD_NUMBER = 1;
   private int initialDelaySeconds_;
   /**
-   *
-   *
    * 
    * Number of seconds after the container has started before the probe is
    * initiated.
@@ -126,7 +104,6 @@ public ProbeTypeCase getProbeTypeCase() {
    * 
* * int32 initial_delay_seconds = 1; - * * @return The initialDelaySeconds. */ @java.lang.Override @@ -137,8 +114,6 @@ public int getInitialDelaySeconds() { public static final int TIMEOUT_SECONDS_FIELD_NUMBER = 2; private int timeoutSeconds_; /** - * - * *
    * Number of seconds after which the probe times out.
    * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
@@ -148,7 +123,6 @@ public int getInitialDelaySeconds() {
    * 
* * int32 timeout_seconds = 2; - * * @return The timeoutSeconds. */ @java.lang.Override @@ -159,8 +133,6 @@ public int getTimeoutSeconds() { public static final int PERIOD_SECONDS_FIELD_NUMBER = 3; private int periodSeconds_; /** - * - * *
    * How often (in seconds) to perform the probe.
    * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
@@ -169,7 +141,6 @@ public int getTimeoutSeconds() {
    * 
* * int32 period_seconds = 3; - * * @return The periodSeconds. */ @java.lang.Override @@ -180,15 +151,12 @@ public int getPeriodSeconds() { public static final int FAILURE_THRESHOLD_FIELD_NUMBER = 4; private int failureThreshold_; /** - * - * *
    * Minimum consecutive failures for the probe to be considered failed after
    * having succeeded. Defaults to 3. Minimum value is 1.
    * 
* * int32 failure_threshold = 4; - * * @return The failureThreshold. */ @java.lang.Override @@ -198,15 +166,12 @@ public int getFailureThreshold() { public static final int HTTP_GET_FIELD_NUMBER = 5; /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return Whether the httpGet field is set. */ @java.lang.Override @@ -214,30 +179,25 @@ public boolean hasHttpGet() { return probeTypeCase_ == 5; } /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return The httpGet. */ @java.lang.Override public com.google.cloud.run.v2.HTTPGetAction getHttpGet() { if (probeTypeCase_ == 5) { - return (com.google.cloud.run.v2.HTTPGetAction) probeType_; + return (com.google.cloud.run.v2.HTTPGetAction) probeType_; } return com.google.cloud.run.v2.HTTPGetAction.getDefaultInstance(); } /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -245,22 +205,19 @@ public com.google.cloud.run.v2.HTTPGetAction getHttpGet() { @java.lang.Override public com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder() { if (probeTypeCase_ == 5) { - return (com.google.cloud.run.v2.HTTPGetAction) probeType_; + return (com.google.cloud.run.v2.HTTPGetAction) probeType_; } return com.google.cloud.run.v2.HTTPGetAction.getDefaultInstance(); } public static final int TCP_SOCKET_FIELD_NUMBER = 6; /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return Whether the tcpSocket field is set. */ @java.lang.Override @@ -268,30 +225,25 @@ public boolean hasTcpSocket() { return probeTypeCase_ == 6; } /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return The tcpSocket. */ @java.lang.Override public com.google.cloud.run.v2.TCPSocketAction getTcpSocket() { if (probeTypeCase_ == 6) { - return (com.google.cloud.run.v2.TCPSocketAction) probeType_; + return (com.google.cloud.run.v2.TCPSocketAction) probeType_; } return com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance(); } /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -299,13 +251,58 @@ public com.google.cloud.run.v2.TCPSocketAction getTcpSocket() { @java.lang.Override public com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder() { if (probeTypeCase_ == 6) { - return (com.google.cloud.run.v2.TCPSocketAction) probeType_; + return (com.google.cloud.run.v2.TCPSocketAction) probeType_; } return com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance(); } - private byte memoizedIsInitialized = -1; + public static final int GRPC_FIELD_NUMBER = 7; + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return Whether the grpc field is set. + */ + @java.lang.Override + public boolean hasGrpc() { + return probeTypeCase_ == 7; + } + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return The grpc. + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCAction getGrpc() { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder() { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -317,7 +314,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 (initialDelaySeconds_ != 0) { output.writeInt32(1, initialDelaySeconds_); } @@ -336,6 +334,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (probeTypeCase_ == 6) { output.writeMessage(6, (com.google.cloud.run.v2.TCPSocketAction) probeType_); } + if (probeTypeCase_ == 7) { + output.writeMessage(7, (com.google.cloud.run.v2.GRPCAction) probeType_); + } getUnknownFields().writeTo(output); } @@ -346,26 +347,32 @@ public int getSerializedSize() { size = 0; if (initialDelaySeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, initialDelaySeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, initialDelaySeconds_); } if (timeoutSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, timeoutSeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, timeoutSeconds_); } if (periodSeconds_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, periodSeconds_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, periodSeconds_); } if (failureThreshold_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, failureThreshold_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, failureThreshold_); } if (probeTypeCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, (com.google.cloud.run.v2.HTTPGetAction) probeType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.run.v2.HTTPGetAction) probeType_); } if (probeTypeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.cloud.run.v2.TCPSocketAction) probeType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.run.v2.TCPSocketAction) probeType_); + } + if (probeTypeCase_ == 7) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.run.v2.GRPCAction) probeType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -375,24 +382,34 @@ 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.run.v2.Probe)) { return super.equals(obj); } com.google.cloud.run.v2.Probe other = (com.google.cloud.run.v2.Probe) obj; - if (getInitialDelaySeconds() != other.getInitialDelaySeconds()) return false; - if (getTimeoutSeconds() != other.getTimeoutSeconds()) return false; - if (getPeriodSeconds() != other.getPeriodSeconds()) return false; - if (getFailureThreshold() != other.getFailureThreshold()) return false; + if (getInitialDelaySeconds() + != other.getInitialDelaySeconds()) return false; + if (getTimeoutSeconds() + != other.getTimeoutSeconds()) return false; + if (getPeriodSeconds() + != other.getPeriodSeconds()) return false; + if (getFailureThreshold() + != other.getFailureThreshold()) return false; if (!getProbeTypeCase().equals(other.getProbeTypeCase())) return false; switch (probeTypeCase_) { case 5: - if (!getHttpGet().equals(other.getHttpGet())) return false; + if (!getHttpGet() + .equals(other.getHttpGet())) return false; break; case 6: - if (!getTcpSocket().equals(other.getTcpSocket())) return false; + if (!getTcpSocket() + .equals(other.getTcpSocket())) return false; + break; + case 7: + if (!getGrpc() + .equals(other.getGrpc())) return false; break; case 0: default: @@ -425,6 +442,10 @@ public int hashCode() { hash = (37 * hash) + TCP_SOCKET_FIELD_NUMBER; hash = (53 * hash) + getTcpSocket().hashCode(); break; + case 7: + hash = (37 * hash) + GRPC_FIELD_NUMBER; + hash = (53 * hash) + getGrpc().hashCode(); + break; case 0: default: } @@ -433,103 +454,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Probe parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Probe parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Probe 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.run.v2.Probe parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Probe parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Probe 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.run.v2.Probe parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Probe 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.run.v2.Probe 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.run.v2.Probe 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.run.v2.Probe 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.run.v2.Probe 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.run.v2.Probe parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.run.v2.Probe parseFrom( + com.google.protobuf.CodedInputStream 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.run.v2.Probe 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.run.v2.Probe 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; } /** - * - * *
    * Probe describes a health check to be performed against a container to
    * determine whether it is alive or ready to receive traffic.
@@ -537,31 +552,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.Probe}
    */
-  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.run.v2.Probe)
       com.google.cloud.run.v2.ProbeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Probe_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Probe_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Probe_fieldAccessorTable
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Probe_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.run.v2.Probe.class, com.google.cloud.run.v2.Probe.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Probe.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -579,15 +596,18 @@ public Builder clear() {
       if (tcpSocketBuilder_ != null) {
         tcpSocketBuilder_.clear();
       }
+      if (grpcBuilder_ != null) {
+        grpcBuilder_.clear();
+      }
       probeTypeCase_ = 0;
       probeType_ = null;
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_Probe_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Probe_descriptor;
     }
 
     @java.lang.Override
@@ -625,6 +645,13 @@ public com.google.cloud.run.v2.Probe buildPartial() {
           result.probeType_ = tcpSocketBuilder_.build();
         }
       }
+      if (probeTypeCase_ == 7) {
+        if (grpcBuilder_ == null) {
+          result.probeType_ = probeType_;
+        } else {
+          result.probeType_ = grpcBuilder_.build();
+        }
+      }
       result.probeTypeCase_ = probeTypeCase_;
       onBuilt();
       return result;
@@ -634,39 +661,38 @@ public com.google.cloud.run.v2.Probe 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.run.v2.Probe) {
-        return mergeFrom((com.google.cloud.run.v2.Probe) other);
+        return mergeFrom((com.google.cloud.run.v2.Probe)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -688,20 +714,21 @@ public Builder mergeFrom(com.google.cloud.run.v2.Probe other) {
         setFailureThreshold(other.getFailureThreshold());
       }
       switch (other.getProbeTypeCase()) {
-        case HTTP_GET:
-          {
-            mergeHttpGet(other.getHttpGet());
-            break;
-          }
-        case TCP_SOCKET:
-          {
-            mergeTcpSocket(other.getTcpSocket());
-            break;
-          }
-        case PROBETYPE_NOT_SET:
-          {
-            break;
-          }
+        case HTTP_GET: {
+          mergeHttpGet(other.getHttpGet());
+          break;
+        }
+        case TCP_SOCKET: {
+          mergeTcpSocket(other.getTcpSocket());
+          break;
+        }
+        case GRPC: {
+          mergeGrpc(other.getGrpc());
+          break;
+        }
+        case PROBETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -729,49 +756,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                initialDelaySeconds_ = input.readInt32();
-
-                break;
-              } // case 8
-            case 16:
-              {
-                timeoutSeconds_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 24:
-              {
-                periodSeconds_ = input.readInt32();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                failureThreshold_ = input.readInt32();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                input.readMessage(getHttpGetFieldBuilder().getBuilder(), extensionRegistry);
-                probeTypeCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getTcpSocketFieldBuilder().getBuilder(), extensionRegistry);
-                probeTypeCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              initialDelaySeconds_ = input.readInt32();
+
+              break;
+            } // case 8
+            case 16: {
+              timeoutSeconds_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 24: {
+              periodSeconds_ = input.readInt32();
+
+              break;
+            } // case 24
+            case 32: {
+              failureThreshold_ = input.readInt32();
+
+              break;
+            } // case 32
+            case 42: {
+              input.readMessage(
+                  getHttpGetFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              probeTypeCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getTcpSocketFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              probeTypeCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getGrpcFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              probeTypeCase_ = 7;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -781,12 +812,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int probeTypeCase_ = 0;
     private java.lang.Object probeType_;
-
-    public ProbeTypeCase getProbeTypeCase() {
-      return ProbeTypeCase.forNumber(probeTypeCase_);
+    public ProbeTypeCase
+        getProbeTypeCase() {
+      return ProbeTypeCase.forNumber(
+          probeTypeCase_);
     }
 
     public Builder clearProbeType() {
@@ -796,10 +827,9 @@ public Builder clearProbeType() {
       return this;
     }
 
-    private int initialDelaySeconds_;
+
+    private int initialDelaySeconds_ ;
     /**
-     *
-     *
      * 
      * Number of seconds after the container has started before the probe is
      * initiated.
@@ -810,7 +840,6 @@ public Builder clearProbeType() {
      * 
* * int32 initial_delay_seconds = 1; - * * @return The initialDelaySeconds. */ @java.lang.Override @@ -818,8 +847,6 @@ public int getInitialDelaySeconds() { return initialDelaySeconds_; } /** - * - * *
      * Number of seconds after the container has started before the probe is
      * initiated.
@@ -830,19 +857,16 @@ public int getInitialDelaySeconds() {
      * 
* * int32 initial_delay_seconds = 1; - * * @param value The initialDelaySeconds to set. * @return This builder for chaining. */ public Builder setInitialDelaySeconds(int value) { - + initialDelaySeconds_ = value; onChanged(); return this; } /** - * - * *
      * Number of seconds after the container has started before the probe is
      * initiated.
@@ -853,20 +877,17 @@ public Builder setInitialDelaySeconds(int value) {
      * 
* * int32 initial_delay_seconds = 1; - * * @return This builder for chaining. */ public Builder clearInitialDelaySeconds() { - + initialDelaySeconds_ = 0; onChanged(); return this; } - private int timeoutSeconds_; + private int timeoutSeconds_ ; /** - * - * *
      * Number of seconds after which the probe times out.
      * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
@@ -876,7 +897,6 @@ public Builder clearInitialDelaySeconds() {
      * 
* * int32 timeout_seconds = 2; - * * @return The timeoutSeconds. */ @java.lang.Override @@ -884,8 +904,6 @@ public int getTimeoutSeconds() { return timeoutSeconds_; } /** - * - * *
      * Number of seconds after which the probe times out.
      * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
@@ -895,19 +913,16 @@ public int getTimeoutSeconds() {
      * 
* * int32 timeout_seconds = 2; - * * @param value The timeoutSeconds to set. * @return This builder for chaining. */ public Builder setTimeoutSeconds(int value) { - + timeoutSeconds_ = value; onChanged(); return this; } /** - * - * *
      * Number of seconds after which the probe times out.
      * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
@@ -917,20 +932,17 @@ public Builder setTimeoutSeconds(int value) {
      * 
* * int32 timeout_seconds = 2; - * * @return This builder for chaining. */ public Builder clearTimeoutSeconds() { - + timeoutSeconds_ = 0; onChanged(); return this; } - private int periodSeconds_; + private int periodSeconds_ ; /** - * - * *
      * How often (in seconds) to perform the probe.
      * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
@@ -939,7 +951,6 @@ public Builder clearTimeoutSeconds() {
      * 
* * int32 period_seconds = 3; - * * @return The periodSeconds. */ @java.lang.Override @@ -947,8 +958,6 @@ public int getPeriodSeconds() { return periodSeconds_; } /** - * - * *
      * How often (in seconds) to perform the probe.
      * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
@@ -957,19 +966,16 @@ public int getPeriodSeconds() {
      * 
* * int32 period_seconds = 3; - * * @param value The periodSeconds to set. * @return This builder for chaining. */ public Builder setPeriodSeconds(int value) { - + periodSeconds_ = value; onChanged(); return this; } /** - * - * *
      * How often (in seconds) to perform the probe.
      * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
@@ -978,27 +984,23 @@ public Builder setPeriodSeconds(int value) {
      * 
* * int32 period_seconds = 3; - * * @return This builder for chaining. */ public Builder clearPeriodSeconds() { - + periodSeconds_ = 0; onChanged(); return this; } - private int failureThreshold_; + private int failureThreshold_ ; /** - * - * *
      * Minimum consecutive failures for the probe to be considered failed after
      * having succeeded. Defaults to 3. Minimum value is 1.
      * 
* * int32 failure_threshold = 4; - * * @return The failureThreshold. */ @java.lang.Override @@ -1006,58 +1008,46 @@ public int getFailureThreshold() { return failureThreshold_; } /** - * - * *
      * Minimum consecutive failures for the probe to be considered failed after
      * having succeeded. Defaults to 3. Minimum value is 1.
      * 
* * int32 failure_threshold = 4; - * * @param value The failureThreshold to set. * @return This builder for chaining. */ public Builder setFailureThreshold(int value) { - + failureThreshold_ = value; onChanged(); return this; } /** - * - * *
      * Minimum consecutive failures for the probe to be considered failed after
      * having succeeded. Defaults to 3. Minimum value is 1.
      * 
* * int32 failure_threshold = 4; - * * @return This builder for chaining. */ public Builder clearFailureThreshold() { - + failureThreshold_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.HTTPGetAction, - com.google.cloud.run.v2.HTTPGetAction.Builder, - com.google.cloud.run.v2.HTTPGetActionOrBuilder> - httpGetBuilder_; + com.google.cloud.run.v2.HTTPGetAction, com.google.cloud.run.v2.HTTPGetAction.Builder, com.google.cloud.run.v2.HTTPGetActionOrBuilder> httpGetBuilder_; /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return Whether the httpGet field is set. */ @java.lang.Override @@ -1065,15 +1055,12 @@ public boolean hasHttpGet() { return probeTypeCase_ == 5; } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return The httpGet. */ @java.lang.Override @@ -1091,11 +1078,9 @@ public com.google.cloud.run.v2.HTTPGetAction getHttpGet() { } } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1114,16 +1099,15 @@ public Builder setHttpGet(com.google.cloud.run.v2.HTTPGetAction value) { return this; } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; */ - public Builder setHttpGet(com.google.cloud.run.v2.HTTPGetAction.Builder builderForValue) { + public Builder setHttpGet( + com.google.cloud.run.v2.HTTPGetAction.Builder builderForValue) { if (httpGetBuilder_ == null) { probeType_ = builderForValue.build(); onChanged(); @@ -1134,24 +1118,19 @@ public Builder setHttpGet(com.google.cloud.run.v2.HTTPGetAction.Builder builderF return this; } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; */ public Builder mergeHttpGet(com.google.cloud.run.v2.HTTPGetAction value) { if (httpGetBuilder_ == null) { - if (probeTypeCase_ == 5 - && probeType_ != com.google.cloud.run.v2.HTTPGetAction.getDefaultInstance()) { - probeType_ = - com.google.cloud.run.v2.HTTPGetAction.newBuilder( - (com.google.cloud.run.v2.HTTPGetAction) probeType_) - .mergeFrom(value) - .buildPartial(); + if (probeTypeCase_ == 5 && + probeType_ != com.google.cloud.run.v2.HTTPGetAction.getDefaultInstance()) { + probeType_ = com.google.cloud.run.v2.HTTPGetAction.newBuilder((com.google.cloud.run.v2.HTTPGetAction) probeType_) + .mergeFrom(value).buildPartial(); } else { probeType_ = value; } @@ -1167,11 +1146,9 @@ public Builder mergeHttpGet(com.google.cloud.run.v2.HTTPGetAction value) { return this; } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1193,11 +1170,9 @@ public Builder clearHttpGet() { return this; } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1206,11 +1181,9 @@ public com.google.cloud.run.v2.HTTPGetAction.Builder getHttpGetBuilder() { return getHttpGetFieldBuilder().getBuilder(); } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -1227,55 +1200,41 @@ public com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder() { } } /** - * - * *
      * HTTPGet specifies the http request to perform.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.HTTPGetAction, - com.google.cloud.run.v2.HTTPGetAction.Builder, - com.google.cloud.run.v2.HTTPGetActionOrBuilder> + com.google.cloud.run.v2.HTTPGetAction, com.google.cloud.run.v2.HTTPGetAction.Builder, com.google.cloud.run.v2.HTTPGetActionOrBuilder> getHttpGetFieldBuilder() { if (httpGetBuilder_ == null) { if (!(probeTypeCase_ == 5)) { probeType_ = com.google.cloud.run.v2.HTTPGetAction.getDefaultInstance(); } - httpGetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.HTTPGetAction, - com.google.cloud.run.v2.HTTPGetAction.Builder, - com.google.cloud.run.v2.HTTPGetActionOrBuilder>( + httpGetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.HTTPGetAction, com.google.cloud.run.v2.HTTPGetAction.Builder, com.google.cloud.run.v2.HTTPGetActionOrBuilder>( (com.google.cloud.run.v2.HTTPGetAction) probeType_, getParentForChildren(), isClean()); probeType_ = null; } probeTypeCase_ = 5; - onChanged(); - ; + onChanged();; return httpGetBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TCPSocketAction, - com.google.cloud.run.v2.TCPSocketAction.Builder, - com.google.cloud.run.v2.TCPSocketActionOrBuilder> - tcpSocketBuilder_; + com.google.cloud.run.v2.TCPSocketAction, com.google.cloud.run.v2.TCPSocketAction.Builder, com.google.cloud.run.v2.TCPSocketActionOrBuilder> tcpSocketBuilder_; /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return Whether the tcpSocket field is set. */ @java.lang.Override @@ -1283,15 +1242,12 @@ public boolean hasTcpSocket() { return probeTypeCase_ == 6; } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return The tcpSocket. */ @java.lang.Override @@ -1309,11 +1265,9 @@ public com.google.cloud.run.v2.TCPSocketAction getTcpSocket() { } } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1332,16 +1286,15 @@ public Builder setTcpSocket(com.google.cloud.run.v2.TCPSocketAction value) { return this; } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; */ - public Builder setTcpSocket(com.google.cloud.run.v2.TCPSocketAction.Builder builderForValue) { + public Builder setTcpSocket( + com.google.cloud.run.v2.TCPSocketAction.Builder builderForValue) { if (tcpSocketBuilder_ == null) { probeType_ = builderForValue.build(); onChanged(); @@ -1352,24 +1305,19 @@ public Builder setTcpSocket(com.google.cloud.run.v2.TCPSocketAction.Builder buil return this; } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; */ public Builder mergeTcpSocket(com.google.cloud.run.v2.TCPSocketAction value) { if (tcpSocketBuilder_ == null) { - if (probeTypeCase_ == 6 - && probeType_ != com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance()) { - probeType_ = - com.google.cloud.run.v2.TCPSocketAction.newBuilder( - (com.google.cloud.run.v2.TCPSocketAction) probeType_) - .mergeFrom(value) - .buildPartial(); + if (probeTypeCase_ == 6 && + probeType_ != com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance()) { + probeType_ = com.google.cloud.run.v2.TCPSocketAction.newBuilder((com.google.cloud.run.v2.TCPSocketAction) probeType_) + .mergeFrom(value).buildPartial(); } else { probeType_ = value; } @@ -1385,11 +1333,9 @@ public Builder mergeTcpSocket(com.google.cloud.run.v2.TCPSocketAction value) { return this; } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1411,11 +1357,9 @@ public Builder clearTcpSocket() { return this; } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1424,11 +1368,9 @@ public com.google.cloud.run.v2.TCPSocketAction.Builder getTcpSocketBuilder() { return getTcpSocketFieldBuilder().getBuilder(); } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; @@ -1445,42 +1387,221 @@ public com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder() } } /** - * - * *
      * TCPSocket specifies an action involving a TCP port.
-     * Exactly one of HTTPGet or TCPSocket must be specified.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
      * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TCPSocketAction, - com.google.cloud.run.v2.TCPSocketAction.Builder, - com.google.cloud.run.v2.TCPSocketActionOrBuilder> + com.google.cloud.run.v2.TCPSocketAction, com.google.cloud.run.v2.TCPSocketAction.Builder, com.google.cloud.run.v2.TCPSocketActionOrBuilder> getTcpSocketFieldBuilder() { if (tcpSocketBuilder_ == null) { if (!(probeTypeCase_ == 6)) { probeType_ = com.google.cloud.run.v2.TCPSocketAction.getDefaultInstance(); } - tcpSocketBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TCPSocketAction, - com.google.cloud.run.v2.TCPSocketAction.Builder, - com.google.cloud.run.v2.TCPSocketActionOrBuilder>( + tcpSocketBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.TCPSocketAction, com.google.cloud.run.v2.TCPSocketAction.Builder, com.google.cloud.run.v2.TCPSocketActionOrBuilder>( (com.google.cloud.run.v2.TCPSocketAction) probeType_, getParentForChildren(), isClean()); probeType_ = null; } probeTypeCase_ = 6; - onChanged(); - ; + onChanged();; return tcpSocketBuilder_; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, com.google.cloud.run.v2.GRPCAction.Builder, com.google.cloud.run.v2.GRPCActionOrBuilder> grpcBuilder_; + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return Whether the grpc field is set. + */ + @java.lang.Override + public boolean hasGrpc() { + return probeTypeCase_ == 7; + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return The grpc. + */ @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public com.google.cloud.run.v2.GRPCAction getGrpc() { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } else { + if (probeTypeCase_ == 7) { + return grpcBuilder_.getMessage(); + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder setGrpc(com.google.cloud.run.v2.GRPCAction value) { + if (grpcBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + probeType_ = value; + onChanged(); + } else { + grpcBuilder_.setMessage(value); + } + probeTypeCase_ = 7; + return this; + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder setGrpc( + com.google.cloud.run.v2.GRPCAction.Builder builderForValue) { + if (grpcBuilder_ == null) { + probeType_ = builderForValue.build(); + onChanged(); + } else { + grpcBuilder_.setMessage(builderForValue.build()); + } + probeTypeCase_ = 7; + return this; + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder mergeGrpc(com.google.cloud.run.v2.GRPCAction value) { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7 && + probeType_ != com.google.cloud.run.v2.GRPCAction.getDefaultInstance()) { + probeType_ = com.google.cloud.run.v2.GRPCAction.newBuilder((com.google.cloud.run.v2.GRPCAction) probeType_) + .mergeFrom(value).buildPartial(); + } else { + probeType_ = value; + } + onChanged(); + } else { + if (probeTypeCase_ == 7) { + grpcBuilder_.mergeFrom(value); + } else { + grpcBuilder_.setMessage(value); + } + } + probeTypeCase_ = 7; + return this; + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public Builder clearGrpc() { + if (grpcBuilder_ == null) { + if (probeTypeCase_ == 7) { + probeTypeCase_ = 0; + probeType_ = null; + onChanged(); + } + } else { + if (probeTypeCase_ == 7) { + probeTypeCase_ = 0; + probeType_ = null; + } + grpcBuilder_.clear(); + } + return this; + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + public com.google.cloud.run.v2.GRPCAction.Builder getGrpcBuilder() { + return getGrpcFieldBuilder().getBuilder(); + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + @java.lang.Override + public com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder() { + if ((probeTypeCase_ == 7) && (grpcBuilder_ != null)) { + return grpcBuilder_.getMessageOrBuilder(); + } else { + if (probeTypeCase_ == 7) { + return (com.google.cloud.run.v2.GRPCAction) probeType_; + } + return com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + } + /** + *
+     * GRPC specifies an action involving a gRPC port.
+     * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+     * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, com.google.cloud.run.v2.GRPCAction.Builder, com.google.cloud.run.v2.GRPCActionOrBuilder> + getGrpcFieldBuilder() { + if (grpcBuilder_ == null) { + if (!(probeTypeCase_ == 7)) { + probeType_ = com.google.cloud.run.v2.GRPCAction.getDefaultInstance(); + } + grpcBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.GRPCAction, com.google.cloud.run.v2.GRPCAction.Builder, com.google.cloud.run.v2.GRPCActionOrBuilder>( + (com.google.cloud.run.v2.GRPCAction) probeType_, + getParentForChildren(), + isClean()); + probeType_ = null; + } + probeTypeCase_ = 7; + onChanged();; + return grpcBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1490,12 +1611,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Probe) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Probe) private static final com.google.cloud.run.v2.Probe DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Probe(); } @@ -1504,27 +1625,27 @@ public static com.google.cloud.run.v2.Probe getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Probe parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Probe parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1539,4 +1660,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Probe getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java index 161f8b43509e..a6319a5cb3ab 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ProbeOrBuilder.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface ProbeOrBuilder - extends +public interface ProbeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Probe) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Number of seconds after the container has started before the probe is
    * initiated.
@@ -36,14 +18,11 @@ public interface ProbeOrBuilder
    * 
* * int32 initial_delay_seconds = 1; - * * @return The initialDelaySeconds. */ int getInitialDelaySeconds(); /** - * - * *
    * Number of seconds after which the probe times out.
    * Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
@@ -53,14 +32,11 @@ public interface ProbeOrBuilder
    * 
* * int32 timeout_seconds = 2; - * * @return The timeoutSeconds. */ int getTimeoutSeconds(); /** - * - * *
    * How often (in seconds) to perform the probe.
    * Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
@@ -69,57 +45,45 @@ public interface ProbeOrBuilder
    * 
* * int32 period_seconds = 3; - * * @return The periodSeconds. */ int getPeriodSeconds(); /** - * - * *
    * Minimum consecutive failures for the probe to be considered failed after
    * having succeeded. Defaults to 3. Minimum value is 1.
    * 
* * int32 failure_threshold = 4; - * * @return The failureThreshold. */ int getFailureThreshold(); /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return Whether the httpGet field is set. */ boolean hasHttpGet(); /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; - * * @return The httpGet. */ com.google.cloud.run.v2.HTTPGetAction getHttpGet(); /** - * - * *
    * HTTPGet specifies the http request to perform.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.HTTPGetAction http_get = 5; @@ -127,42 +91,64 @@ public interface ProbeOrBuilder com.google.cloud.run.v2.HTTPGetActionOrBuilder getHttpGetOrBuilder(); /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return Whether the tcpSocket field is set. */ boolean hasTcpSocket(); /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; - * * @return The tcpSocket. */ com.google.cloud.run.v2.TCPSocketAction getTcpSocket(); /** - * - * *
    * TCPSocket specifies an action involving a TCP port.
-   * Exactly one of HTTPGet or TCPSocket must be specified.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
    * 
* * .google.cloud.run.v2.TCPSocketAction tcp_socket = 6; */ com.google.cloud.run.v2.TCPSocketActionOrBuilder getTcpSocketOrBuilder(); + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return Whether the grpc field is set. + */ + boolean hasGrpc(); + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + * @return The grpc. + */ + com.google.cloud.run.v2.GRPCAction getGrpc(); + /** + *
+   * GRPC specifies an action involving a gRPC port.
+   * Exactly one of httpGet, tcpSocket, or grpc must be specified.
+   * 
+ * + * .google.cloud.run.v2.GRPCAction grpc = 7; + */ + com.google.cloud.run.v2.GRPCActionOrBuilder getGrpcOrBuilder(); + public com.google.cloud.run.v2.Probe.ProbeTypeCase getProbeTypeCase(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java similarity index 57% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java index 826e5128c9ab..24bb5d14f41b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirements.java @@ -1,99 +1,83 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * ResourceRequirements describes the compute resource requirements.
  * 
* * Protobuf type {@code google.cloud.run.v2.ResourceRequirements} */ -public final class ResourceRequirements extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResourceRequirements extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.ResourceRequirements) ResourceRequirementsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResourceRequirements.newBuilder() to construct. private ResourceRequirements(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ResourceRequirements() {} + private ResourceRequirements() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResourceRequirements(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_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 1: return internalGetLimits(); 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.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ResourceRequirements.class, - com.google.cloud.run.v2.ResourceRequirements.Builder.class); + com.google.cloud.run.v2.ResourceRequirements.class, com.google.cloud.run.v2.ResourceRequirements.Builder.class); } public static final int LIMITS_FIELD_NUMBER = 1; - private static final class LimitsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField limits_; - - private com.google.protobuf.MapField internalGetLimits() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_LimitsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> limits_; + private com.google.protobuf.MapField + internalGetLimits() { if (limits_ == null) { - return com.google.protobuf.MapField.emptyMapField(LimitsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LimitsDefaultEntryHolder.defaultEntry); } return limits_; } @@ -102,88 +86,86 @@ public int getLimitsCount() { return internalGetLimits().getMap().size(); } /** - * - * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* * map<string, string> limits = 1; */ + @java.lang.Override - public boolean containsLimits(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLimits( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLimits().getMap().containsKey(key); } - /** Use {@link #getLimitsMap()} instead. */ + /** + * Use {@link #getLimitsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLimits() { return getLimitsMap(); } /** - * - * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* * map<string, string> limits = 1; */ @java.lang.Override + public java.util.Map getLimitsMap() { return internalGetLimits().getMap(); } /** - * - * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* * map<string, string> limits = 1; */ @java.lang.Override - public java.lang.String getLimitsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLimits().getMap(); + + public java.lang.String getLimitsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLimits().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Only memory and CPU are supported. Note: The only
-   * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-   * least 2Gi of memory.
-   * The values of the map is string form of the 'quantity' k8s type:
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
    * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
    * 
* * map<string, string> limits = 1; */ @java.lang.Override - public java.lang.String getLimitsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLimits().getMap(); + + public java.lang.String getLimitsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLimits().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -193,14 +175,11 @@ public java.lang.String getLimitsOrThrow(java.lang.String key) { public static final int CPU_IDLE_FIELD_NUMBER = 2; private boolean cpuIdle_; /** - * - * *
    * Determines whether CPU should be throttled or not outside of requests.
    * 
* * bool cpu_idle = 2; - * * @return The cpuIdle. */ @java.lang.Override @@ -209,7 +188,6 @@ public boolean getCpuIdle() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,9 +199,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLimits(), LimitsDefaultEntryHolder.defaultEntry, 1); + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLimits(), + LimitsDefaultEntryHolder.defaultEntry, + 1); if (cpuIdle_ != false) { output.writeBool(2, cpuIdle_); } @@ -236,18 +219,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (java.util.Map.Entry entry : - internalGetLimits().getMap().entrySet()) { - com.google.protobuf.MapEntry limits__ = - LimitsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, limits__); + for (java.util.Map.Entry entry + : internalGetLimits().getMap().entrySet()) { + com.google.protobuf.MapEntry + limits__ = LimitsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, limits__); } if (cpuIdle_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, cpuIdle_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, cpuIdle_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -257,16 +241,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.run.v2.ResourceRequirements)) { return super.equals(obj); } - com.google.cloud.run.v2.ResourceRequirements other = - (com.google.cloud.run.v2.ResourceRequirements) obj; + com.google.cloud.run.v2.ResourceRequirements other = (com.google.cloud.run.v2.ResourceRequirements) obj; - if (!internalGetLimits().equals(other.internalGetLimits())) return false; - if (getCpuIdle() != other.getCpuIdle()) return false; + if (!internalGetLimits().equals( + other.internalGetLimits())) return false; + if (getCpuIdle() + != other.getCpuIdle()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,162 +268,159 @@ public int hashCode() { hash = (53 * hash) + internalGetLimits().hashCode(); } hash = (37 * hash) + CPU_IDLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCpuIdle()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCpuIdle()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.ResourceRequirements parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.ResourceRequirements parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.ResourceRequirements parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements 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; } /** - * - * *
    * ResourceRequirements describes the compute resource requirements.
    * 
* * Protobuf type {@code google.cloud.run.v2.ResourceRequirements} */ - 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.run.v2.ResourceRequirements) com.google.cloud.run.v2.ResourceRequirementsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 1: return internalGetLimits(); 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 1: return internalGetMutableLimits(); 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.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.ResourceRequirements.class, - com.google.cloud.run.v2.ResourceRequirements.Builder.class); + com.google.cloud.run.v2.ResourceRequirements.class, com.google.cloud.run.v2.ResourceRequirements.Builder.class); } // Construct using com.google.cloud.run.v2.ResourceRequirements.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -449,9 +431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_ResourceRequirements_descriptor; } @java.lang.Override @@ -470,8 +452,7 @@ public com.google.cloud.run.v2.ResourceRequirements build() { @java.lang.Override public com.google.cloud.run.v2.ResourceRequirements buildPartial() { - com.google.cloud.run.v2.ResourceRequirements result = - new com.google.cloud.run.v2.ResourceRequirements(this); + com.google.cloud.run.v2.ResourceRequirements result = new com.google.cloud.run.v2.ResourceRequirements(this); int from_bitField0_ = bitField0_; result.limits_ = internalGetLimits(); result.limits_.makeImmutable(); @@ -484,39 +465,38 @@ public com.google.cloud.run.v2.ResourceRequirements 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.run.v2.ResourceRequirements) { - return mergeFrom((com.google.cloud.run.v2.ResourceRequirements) other); + return mergeFrom((com.google.cloud.run.v2.ResourceRequirements)other); } else { super.mergeFrom(other); return this; @@ -525,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.run.v2.ResourceRequirements other) { if (other == com.google.cloud.run.v2.ResourceRequirements.getDefaultInstance()) return this; - internalGetMutableLimits().mergeFrom(other.internalGetLimits()); + internalGetMutableLimits().mergeFrom( + other.internalGetLimits()); if (other.getCpuIdle() != false) { setCpuIdle(other.getCpuIdle()); } @@ -555,30 +536,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.MapEntry limits__ = - input.readMessage( - LimitsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLimits() - .getMutableMap() - .put(limits__.getKey(), limits__.getValue()); - break; - } // case 10 - case 16: - { - cpuIdle_ = input.readBool(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.MapEntry + limits__ = input.readMessage( + LimitsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLimits().getMutableMap().put( + limits__.getKey(), limits__.getValue()); + break; + } // case 10 + case 16: { + cpuIdle_ = input.readBool(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,24 +564,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.MapField limits_; - - private com.google.protobuf.MapField internalGetLimits() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> limits_; + private com.google.protobuf.MapField + internalGetLimits() { if (limits_ == null) { - return com.google.protobuf.MapField.emptyMapField(LimitsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LimitsDefaultEntryHolder.defaultEntry); } return limits_; } - private com.google.protobuf.MapField - internalGetMutableLimits() { - onChanged(); - ; + internalGetMutableLimits() { + onChanged();; if (limits_ == null) { - limits_ = com.google.protobuf.MapField.newMapField(LimitsDefaultEntryHolder.defaultEntry); + limits_ = com.google.protobuf.MapField.newMapField( + LimitsDefaultEntryHolder.defaultEntry); } if (!limits_.isMutable()) { limits_ = limits_.copy(); @@ -617,89 +593,86 @@ public int getLimitsCount() { return internalGetLimits().getMap().size(); } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ + @java.lang.Override - public boolean containsLimits(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLimits( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLimits().getMap().containsKey(key); } - /** Use {@link #getLimitsMap()} instead. */ + /** + * Use {@link #getLimitsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLimits() { return getLimitsMap(); } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ @java.lang.Override + public java.util.Map getLimitsMap() { return internalGetLimits().getMap(); } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ @java.lang.Override + public java.lang.String getLimitsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLimits().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLimits().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ @java.lang.Override - public java.lang.String getLimitsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLimits().getMap(); + + public java.lang.String getLimitsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLimits().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -707,86 +680,86 @@ public java.lang.String getLimitsOrThrow(java.lang.String key) { } public Builder clearLimits() { - internalGetMutableLimits().getMutableMap().clear(); + internalGetMutableLimits().getMutableMap() + .clear(); return this; } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ - public Builder removeLimits(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLimits().getMutableMap().remove(key); + + public Builder removeLimits( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLimits().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLimits() { + public java.util.Map + getMutableLimits() { return internalGetMutableLimits().getMutableMap(); } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ - public Builder putLimits(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLimits( + 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"); +} - internalGetMutableLimits().getMutableMap().put(key, value); + internalGetMutableLimits().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Only memory and CPU are supported. Note: The only
-     * supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at
-     * least 2Gi of memory.
-     * The values of the map is string form of the 'quantity' k8s type:
+     * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+     * requires at least 2Gi of memory. The values of the map is string form of
+     * the 'quantity' k8s type:
      * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      * 
* * map<string, string> limits = 1; */ - public Builder putAllLimits(java.util.Map values) { - internalGetMutableLimits().getMutableMap().putAll(values); + + public Builder putAllLimits( + java.util.Map values) { + internalGetMutableLimits().getMutableMap() + .putAll(values); return this; } - private boolean cpuIdle_; + private boolean cpuIdle_ ; /** - * - * *
      * Determines whether CPU should be throttled or not outside of requests.
      * 
* * bool cpu_idle = 2; - * * @return The cpuIdle. */ @java.lang.Override @@ -794,43 +767,37 @@ public boolean getCpuIdle() { return cpuIdle_; } /** - * - * *
      * Determines whether CPU should be throttled or not outside of requests.
      * 
* * bool cpu_idle = 2; - * * @param value The cpuIdle to set. * @return This builder for chaining. */ public Builder setCpuIdle(boolean value) { - + cpuIdle_ = value; onChanged(); return this; } /** - * - * *
      * Determines whether CPU should be throttled or not outside of requests.
      * 
* * bool cpu_idle = 2; - * * @return This builder for chaining. */ public Builder clearCpuIdle() { - + cpuIdle_ = false; 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); } @@ -840,12 +807,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.ResourceRequirements) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.ResourceRequirements) private static final com.google.cloud.run.v2.ResourceRequirements DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.ResourceRequirements(); } @@ -854,27 +821,27 @@ public static com.google.cloud.run.v2.ResourceRequirements getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResourceRequirements parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResourceRequirements parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -889,4 +856,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.ResourceRequirements getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java new file mode 100644 index 000000000000..1061a0483845 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ResourceRequirementsOrBuilder.java @@ -0,0 +1,95 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +public interface ResourceRequirementsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.ResourceRequirements) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Only memory and CPU are supported. Note: The only
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
+   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
+   * 
+ * + * map<string, string> limits = 1; + */ + int getLimitsCount(); + /** + *
+   * Only memory and CPU are supported. Note: The only
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
+   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
+   * 
+ * + * map<string, string> limits = 1; + */ + boolean containsLimits( + java.lang.String key); + /** + * Use {@link #getLimitsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLimits(); + /** + *
+   * Only memory and CPU are supported. Note: The only
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
+   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
+   * 
+ * + * map<string, string> limits = 1; + */ + java.util.Map + getLimitsMap(); + /** + *
+   * Only memory and CPU are supported. Note: The only
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
+   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
+   * 
+ * + * map<string, string> limits = 1; + */ + + /* nullable */ +java.lang.String getLimitsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+   * Only memory and CPU are supported. Note: The only
+   * supported values for CPU are '1', '2',  '4', and '8'. Setting 4 CPU
+   * requires at least 2Gi of memory. The values of the map is string form of
+   * the 'quantity' k8s type:
+   * https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
+   * 
+ * + * map<string, string> limits = 1; + */ + + java.lang.String getLimitsOrThrow( + java.lang.String key); + + /** + *
+   * Determines whether CPU should be throttled or not outside of requests.
+   * 
+ * + * bool cpu_idle = 2; + * @return The cpuIdle. + */ + boolean getCpuIdle(); +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java index 2e2f3105e67c..0a18460d4dd7 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Revision.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/run/v2/revision.proto package com.google.cloud.run.v2; /** - * - * *
  * A Revision is an immutable snapshot of code and configuration.  A Revision
  * references a container image. Revisions are only created by updates to its
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.Revision}
  */
-public final class Revision extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Revision extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Revision)
     RevisionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Revision.newBuilder() to construct.
   private Revision(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Revision() {
     name_ = "";
     uid_ = "";
@@ -56,38 +38,39 @@ private Revision() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Revision();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.RevisionProto
-        .internal_static_google_cloud_run_v2_Revision_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_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 internalGetLabels();
       case 5:
         return internalGetAnnotations();
       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.run.v2.RevisionProto
-        .internal_static_google_cloud_run_v2_Revision_fieldAccessorTable
+    return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.run.v2.Revision.class, com.google.cloud.run.v2.Revision.Builder.class);
   }
@@ -95,14 +78,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The unique name of this Revision.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -111,29 +91,29 @@ 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; } } /** - * - * *
    * Output only. The unique name of this Revision.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -144,15 +124,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -161,30 +138,30 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -195,15 +172,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -212,23 +186,24 @@ public long getGeneration() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.RevisionProto - .internal_static_google_cloud_run_v2_Revision_LabelsEntry_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.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -237,8 +212,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -253,22 +226,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 4;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -284,12 +257,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -305,16 +277,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -330,11 +302,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -342,24 +315,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 5;
-
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.RevisionProto
-                .internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_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.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField annotations_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> annotations_;
   private com.google.protobuf.MapField
-      internalGetAnnotations() {
+  internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -368,30 +341,28 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -399,12 +370,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -412,17 +382,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -430,11 +399,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -444,15 +414,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -460,15 +426,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -476,14 +438,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -493,15 +452,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -509,15 +464,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -525,14 +476,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -542,16 +490,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -559,16 +503,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -576,15 +516,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -594,17 +531,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -612,17 +545,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -630,16 +559,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -649,8 +575,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int LAUNCH_STAGE_FIELD_NUMBER = 10; private int launchStage_; /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -659,16 +583,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -677,11 +597,9 @@ public int getLaunchStageValue() {
    * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The launchStage. */ - @java.lang.Override - public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; @@ -690,16 +608,11 @@ public com.google.api.LaunchStage getLaunchStage() { public static final int SERVICE_FIELD_NUMBER = 11; private volatile java.lang.Object service_; /** - * - * *
    * Output only. The name of the parent service.
    * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The service. */ @java.lang.Override @@ -708,31 +621,29 @@ 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; } } /** - * - * *
    * Output only. The name of the parent service.
    * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @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 { @@ -743,14 +654,11 @@ public com.google.protobuf.ByteString getServiceBytes() { public static final int SCALING_FIELD_NUMBER = 12; private com.google.cloud.run.v2.RevisionScaling scaling_; /** - * - * *
    * Scaling settings for this revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return Whether the scaling field is set. */ @java.lang.Override @@ -758,25 +666,18 @@ public boolean hasScaling() { return scaling_ != null; } /** - * - * *
    * Scaling settings for this revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return The scaling. */ @java.lang.Override public com.google.cloud.run.v2.RevisionScaling getScaling() { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } /** - * - * *
    * Scaling settings for this revision.
    * 
@@ -791,15 +692,12 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { public static final int VPC_ACCESS_FIELD_NUMBER = 13; private com.google.cloud.run.v2.VpcAccess vpcAccess_; /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return Whether the vpcAccess field is set. */ @java.lang.Override @@ -807,15 +705,12 @@ public boolean hasVpcAccess() { return vpcAccess_ != null; } /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return The vpcAccess. */ @java.lang.Override @@ -823,8 +718,6 @@ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -840,14 +733,11 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
   public static final int MAX_INSTANCE_REQUEST_CONCURRENCY_FIELD_NUMBER = 34;
   private int maxInstanceRequestConcurrency_;
   /**
-   *
-   *
    * 
    * Sets the maximum number of requests that each serving instance can receive.
    * 
* * int32 max_instance_request_concurrency = 34; - * * @return The maxInstanceRequestConcurrency. */ @java.lang.Override @@ -858,14 +748,11 @@ public int getMaxInstanceRequestConcurrency() { public static final int TIMEOUT_FIELD_NUMBER = 15; private com.google.protobuf.Duration timeout_; /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 15; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -873,14 +760,11 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 15; - * * @return The timeout. */ @java.lang.Override @@ -888,8 +772,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
@@ -904,8 +786,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 16; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -913,7 +793,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * 
* * string service_account = 16; - * * @return The serviceAccount. */ @java.lang.Override @@ -922,15 +801,14 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -938,15 +816,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 16; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -957,8 +836,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int CONTAINERS_FIELD_NUMBER = 17; private java.util.List containers_; /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -971,8 +848,6 @@ public java.util.List getContainersList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -981,13 +856,11 @@ public java.util.List getContainersList() {
    * repeated .google.cloud.run.v2.Container containers = 17;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContainersOrBuilderList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -1000,8 +873,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -1014,8 +885,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
     return containers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -1024,15 +893,14 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
    * repeated .google.cloud.run.v2.Container containers = 17;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index) {
     return containers_.get(index);
   }
 
   public static final int VOLUMES_FIELD_NUMBER = 18;
   private java.util.List volumes_;
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
@@ -1044,8 +912,6 @@ public java.util.List getVolumesList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -1053,13 +919,11 @@ public java.util.List getVolumesList() { * repeated .google.cloud.run.v2.Volume volumes = 18; */ @java.lang.Override - public java.util.List + public java.util.List getVolumesOrBuilderList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -1071,8 +935,6 @@ public int getVolumesCount() { return volumes_.size(); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -1084,8 +946,6 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { return volumes_.get(index); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -1093,51 +953,41 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { * repeated .google.cloud.run.v2.Volume volumes = 18; */ @java.lang.Override - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { return volumes_.get(index); } public static final int EXECUTION_ENVIRONMENT_FIELD_NUMBER = 20; private int executionEnvironment_; /** - * - * *
    * The execution environment being used to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
    * The execution environment being used to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ - @java.lang.Override - public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { + @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } public static final int ENCRYPTION_KEY_FIELD_NUMBER = 21; private volatile java.lang.Object encryptionKey_; /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -1145,7 +995,6 @@ public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() {
    * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ @java.lang.Override @@ -1154,15 +1003,14 @@ public java.lang.String getEncryptionKey() { 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(); encryptionKey_ = s; return s; } } /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -1170,15 +1018,16 @@ public java.lang.String getEncryptionKey() {
    * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -1189,8 +1038,6 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { public static final int RECONCILING_FIELD_NUMBER = 30; private boolean reconciling_; /** - * - * *
    * Output only. Indicates whether the resource's reconciliation is still in progress.
    * See comments in `Service.reconciling` for additional information on
@@ -1198,7 +1045,6 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() {
    * 
* * bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1209,92 +1055,71 @@ public boolean getReconciling() { public static final int CONDITIONS_FIELD_NUMBER = 31; private java.util.List conditions_; /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.Condition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int OBSERVED_GENERATION_FIELD_NUMBER = 32; private long observedGeneration_; /** - * - * *
    * Output only. The generation of this Revision currently serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
@@ -1302,7 +1127,6 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind
    * 
* * int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -1313,14 +1137,11 @@ public long getObservedGeneration() { public static final int LOG_URI_FIELD_NUMBER = 33; private volatile java.lang.Object logUri_; /** - * - * *
    * Output only. The Google Console URI to obtain logs for the Revision.
    * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The logUri. */ @java.lang.Override @@ -1329,29 +1150,29 @@ public java.lang.String getLogUri() { 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(); logUri_ = s; return s; } } /** - * - * *
    * Output only. The Google Console URI to obtain logs for the Revision.
    * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for logUri. */ @java.lang.Override - public com.google.protobuf.ByteString getLogUriBytes() { + public com.google.protobuf.ByteString + getLogUriBytes() { java.lang.Object ref = logUri_; 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); logUri_ = b; return b; } else { @@ -1362,15 +1183,12 @@ public com.google.protobuf.ByteString getLogUriBytes() { public static final int ETAG_FIELD_NUMBER = 99; private volatile java.lang.Object etag_; /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ @java.lang.Override @@ -1379,30 +1197,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1411,7 +1229,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1423,7 +1240,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_); } @@ -1433,10 +1251,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (generation_ != 0L) { output.writeInt64(3, generation_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -1473,9 +1299,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < volumes_.size(); i++) { output.writeMessage(18, volumes_.get(i)); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { output.writeEnum(20, executionEnvironment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) { @@ -1515,88 +1339,100 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, annotations__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getExpireTime()); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, launchStage_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(10, launchStage_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(service_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, service_); } if (scaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getScaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getScaling()); } if (vpcAccess_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getVpcAccess()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getVpcAccess()); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, getTimeout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, serviceAccount_); } for (int i = 0; i < containers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, containers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, containers_.get(i)); } for (int i = 0; i < volumes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, volumes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, volumes_.get(i)); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, executionEnvironment_); + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, executionEnvironment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, encryptionKey_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(30, reconciling_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, conditions_.get(i)); } if (observedGeneration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(32, observedGeneration_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(32, observedGeneration_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, logUri_); } if (maxInstanceRequestConcurrency_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 34, maxInstanceRequestConcurrency_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(34, maxInstanceRequestConcurrency_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); @@ -1609,60 +1445,82 @@ 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.run.v2.Revision)) { return super.equals(obj); } com.google.cloud.run.v2.Revision other = (com.google.cloud.run.v2.Revision) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getGeneration() != other.getGeneration()) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getGeneration() + != other.getGeneration()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (launchStage_ != other.launchStage_) return false; - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; if (hasScaling() != other.hasScaling()) return false; if (hasScaling()) { - if (!getScaling().equals(other.getScaling())) return false; + if (!getScaling() + .equals(other.getScaling())) return false; } if (hasVpcAccess() != other.hasVpcAccess()) return false; if (hasVpcAccess()) { - if (!getVpcAccess().equals(other.getVpcAccess())) return false; + if (!getVpcAccess() + .equals(other.getVpcAccess())) return false; } - if (getMaxInstanceRequestConcurrency() != other.getMaxInstanceRequestConcurrency()) - return false; + if (getMaxInstanceRequestConcurrency() + != other.getMaxInstanceRequestConcurrency()) return false; if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout().equals(other.getTimeout())) return false; - } - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getContainersList().equals(other.getContainersList())) return false; - if (!getVolumesList().equals(other.getVolumesList())) return false; + if (!getTimeout() + .equals(other.getTimeout())) return false; + } + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getContainersList() + .equals(other.getContainersList())) return false; + if (!getVolumesList() + .equals(other.getVolumesList())) return false; if (executionEnvironment_ != other.executionEnvironment_) return false; - if (!getEncryptionKey().equals(other.getEncryptionKey())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getObservedGeneration() != other.getObservedGeneration()) return false; - if (!getLogUri().equals(other.getLogUri())) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getEncryptionKey() + .equals(other.getEncryptionKey())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getObservedGeneration() + != other.getObservedGeneration()) return false; + if (!getLogUri() + .equals(other.getLogUri())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1679,7 +1537,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); @@ -1737,13 +1596,15 @@ public int hashCode() { hash = (37 * hash) + ENCRYPTION_KEY_FIELD_NUMBER; hash = (53 * hash) + getEncryptionKey().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (getConditionsCount() > 0) { hash = (37 * hash) + CONDITIONS_FIELD_NUMBER; hash = (53 * hash) + getConditionsList().hashCode(); } hash = (37 * hash) + OBSERVED_GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObservedGeneration()); hash = (37 * hash) + LOG_URI_FIELD_NUMBER; hash = (53 * hash) + getLogUri().hashCode(); hash = (37 * hash) + ETAG_FIELD_NUMBER; @@ -1753,103 +1614,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Revision parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Revision parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Revision 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.run.v2.Revision parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Revision parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Revision 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.run.v2.Revision parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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.run.v2.Revision 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; } /** - * - * *
    * A Revision is an immutable snapshot of code and configuration.  A Revision
    * references a container image. Revisions are only created by updates to its
@@ -1858,56 +1713,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.Revision}
    */
-  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.run.v2.Revision)
       com.google.cloud.run.v2.RevisionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_Revision_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 4:
           return internalGetLabels();
         case 5:
           return internalGetAnnotations();
         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 internalGetMutableLabels();
         case 5:
           return internalGetMutableAnnotations();
         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.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_Revision_fieldAccessorTable
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.Revision.class,
-              com.google.cloud.run.v2.Revision.Builder.class);
+              com.google.cloud.run.v2.Revision.class, com.google.cloud.run.v2.Revision.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Revision.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2006,9 +1864,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.RevisionProto
-          .internal_static_google_cloud_run_v2_Revision_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.RevisionProto.internal_static_google_cloud_run_v2_Revision_descriptor;
     }
 
     @java.lang.Override
@@ -2116,39 +1974,38 @@ public com.google.cloud.run.v2.Revision 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.run.v2.Revision) {
-        return mergeFrom((com.google.cloud.run.v2.Revision) other);
+        return mergeFrom((com.google.cloud.run.v2.Revision)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2168,8 +2025,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.Revision other) {
       if (other.getGeneration() != 0L) {
         setGeneration(other.getGeneration());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -2223,10 +2082,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Revision other) {
             containersBuilder_ = null;
             containers_ = other.containers_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            containersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getContainersFieldBuilder()
-                    : null;
+            containersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getContainersFieldBuilder() : null;
           } else {
             containersBuilder_.addAllMessages(other.containers_);
           }
@@ -2250,10 +2108,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Revision other) {
             volumesBuilder_ = null;
             volumes_ = other.volumes_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            volumesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVolumesFieldBuilder()
-                    : null;
+            volumesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVolumesFieldBuilder() : null;
           } else {
             volumesBuilder_.addAllMessages(other.volumes_);
           }
@@ -2287,10 +2144,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Revision other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -2333,221 +2189,206 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                uid_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                generation_ = input.readInt64();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 80:
-              {
-                launchStage_ = input.readEnum();
-
-                break;
-              } // case 80
-            case 90:
-              {
-                service_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 90
-            case 98:
-              {
-                input.readMessage(getScalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 98
-            case 106:
-              {
-                input.readMessage(getVpcAccessFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 106
-            case 122:
-              {
-                input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 122
-            case 130:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 130
-            case 138:
-              {
-                com.google.cloud.run.v2.Container m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Container.parser(), extensionRegistry);
-                if (containersBuilder_ == null) {
-                  ensureContainersIsMutable();
-                  containers_.add(m);
-                } else {
-                  containersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 138
-            case 146:
-              {
-                com.google.cloud.run.v2.Volume m =
-                    input.readMessage(com.google.cloud.run.v2.Volume.parser(), extensionRegistry);
-                if (volumesBuilder_ == null) {
-                  ensureVolumesIsMutable();
-                  volumes_.add(m);
-                } else {
-                  volumesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 146
-            case 160:
-              {
-                executionEnvironment_ = input.readEnum();
-
-                break;
-              } // case 160
-            case 170:
-              {
-                encryptionKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 170
-            case 240:
-              {
-                reconciling_ = input.readBool();
-
-                break;
-              } // case 240
-            case 250:
-              {
-                com.google.cloud.run.v2.Condition m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Condition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 250
-            case 256:
-              {
-                observedGeneration_ = input.readInt64();
-
-                break;
-              } // case 256
-            case 266:
-              {
-                logUri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 266
-            case 272:
-              {
-                maxInstanceRequestConcurrency_ = input.readInt32();
-
-                break;
-              } // case 272
-            case 794:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 794
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
-          } // switch (tag)
-        } // while (!done)
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.unwrapIOException();
-      } finally {
-        onChanged();
-      } // finally
-      return this;
-    }
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-    private int bitField0_;
+              break;
+            } // case 10
+            case 18: {
+              uid_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              generation_ = input.readInt64();
+
+              break;
+            } // case 24
+            case 34: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 80: {
+              launchStage_ = input.readEnum();
+
+              break;
+            } // case 80
+            case 90: {
+              service_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 90
+            case 98: {
+              input.readMessage(
+                  getScalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 98
+            case 106: {
+              input.readMessage(
+                  getVpcAccessFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 106
+            case 122: {
+              input.readMessage(
+                  getTimeoutFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 122
+            case 130: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 130
+            case 138: {
+              com.google.cloud.run.v2.Container m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Container.parser(),
+                      extensionRegistry);
+              if (containersBuilder_ == null) {
+                ensureContainersIsMutable();
+                containers_.add(m);
+              } else {
+                containersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 138
+            case 146: {
+              com.google.cloud.run.v2.Volume m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Volume.parser(),
+                      extensionRegistry);
+              if (volumesBuilder_ == null) {
+                ensureVolumesIsMutable();
+                volumes_.add(m);
+              } else {
+                volumesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 146
+            case 160: {
+              executionEnvironment_ = input.readEnum();
+
+              break;
+            } // case 160
+            case 170: {
+              encryptionKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 170
+            case 240: {
+              reconciling_ = input.readBool();
+
+              break;
+            } // case 240
+            case 250: {
+              com.google.cloud.run.v2.Condition m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Condition.parser(),
+                      extensionRegistry);
+              if (conditionsBuilder_ == null) {
+                ensureConditionsIsMutable();
+                conditions_.add(m);
+              } else {
+                conditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 250
+            case 256: {
+              observedGeneration_ = input.readInt64();
+
+              break;
+            } // case 256
+            case 266: {
+              logUri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 266
+            case 272: {
+              maxInstanceRequestConcurrency_ = input.readInt32();
+
+              break;
+            } // case 272
+            case 794: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 794
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
+          } // switch (tag)
+        } // while (!done)
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.unwrapIOException();
+      } finally {
+        onChanged();
+      } // finally
+      return this;
+    }
+    private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The unique name of this Revision.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2556,21 +2397,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The unique name of this Revision.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -2578,61 +2418,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The unique name of this Revision.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } /** - * - * *
      * Output only. The unique name of this Revision.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The unique name of this Revision.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2640,21 +2473,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -2663,22 +2494,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -2686,80 +2516,70 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -2767,58 +2587,53 @@ public long getGeneration() { return generation_; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2830,8 +2645,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2846,22 +2659,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 4;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2877,12 +2690,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2898,17 +2710,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2924,11 +2735,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -2936,12 +2748,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2956,21 +2767,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -2985,20 +2798,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        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");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3013,29 +2825,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField annotations_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> annotations_;
     private com.google.protobuf.MapField
-        internalGetAnnotations() {
+    internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAnnotations() {
-      onChanged();
-      ;
+    internalGetMutableAnnotations() {
+      onChanged();;
       if (annotations_ == null) {
-        annotations_ =
-            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ = com.google.protobuf.MapField.newMapField(
+            AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -3047,30 +2860,28 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3078,12 +2889,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3091,17 +2901,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3109,11 +2918,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3121,118 +2931,102 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAnnotations( + 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"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3248,17 +3042,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3269,21 +3060,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3295,15 +3082,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3317,64 +3100,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3382,58 +3149,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3449,17 +3197,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3470,21 +3215,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3496,15 +3237,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3518,64 +3255,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -3583,61 +3304,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -3653,18 +3355,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -3675,22 +3374,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -3702,16 +3397,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -3725,67 +3416,51 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - + onChanged(); return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -3793,64 +3468,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -3866,19 +3522,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -3889,23 +3542,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -3917,17 +3566,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -3941,70 +3586,54 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -4012,8 +3641,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int launchStage_ = 0; /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4022,16 +3649,12 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4040,19 +3663,16 @@ public int getLaunchStageValue() {
      * 
* * .google.api.LaunchStage launch_stage = 10; - * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4061,7 +3681,6 @@ public Builder setLaunchStageValue(int value) {
      * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The launchStage. */ @java.lang.Override @@ -4071,8 +3690,6 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4081,7 +3698,6 @@ public com.google.api.LaunchStage getLaunchStage() {
      * 
* * .google.api.LaunchStage launch_stage = 10; - * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -4089,14 +3705,12 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Set the launch stage to a preview stage on write to allow use of preview
      * features in that stage. On read, describes whether the resource uses
@@ -4105,11 +3719,10 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) {
      * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 0; onChanged(); return this; @@ -4117,22 +3730,18 @@ public Builder clearLaunchStage() { private java.lang.Object service_ = ""; /** - * - * *
      * Output only. The name of the parent service.
      * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @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; @@ -4141,23 +3750,20 @@ public java.lang.String getService() { } } /** - * - * *
      * Output only. The name of the parent service.
      * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @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 { @@ -4165,67 +3771,54 @@ public com.google.protobuf.ByteString getServiceBytes() { } } /** - * - * *
      * Output only. The name of the parent service.
      * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @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; } /** - * - * *
      * Output only. The name of the parent service.
      * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearService() { - + service_ = getDefaultInstance().getService(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent service.
      * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @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; @@ -4233,47 +3826,34 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.RevisionScaling scaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder> - scalingBuilder_; + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder> scalingBuilder_; /** - * - * *
      * Scaling settings for this revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return Whether the scaling field is set. */ public boolean hasScaling() { return scalingBuilder_ != null || scaling_ != null; } /** - * - * *
      * Scaling settings for this revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return The scaling. */ public com.google.cloud.run.v2.RevisionScaling getScaling() { if (scalingBuilder_ == null) { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } else { return scalingBuilder_.getMessage(); } } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4294,15 +3874,14 @@ public Builder setScaling(com.google.cloud.run.v2.RevisionScaling value) { return this; } /** - * - * *
      * Scaling settings for this revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; */ - public Builder setScaling(com.google.cloud.run.v2.RevisionScaling.Builder builderForValue) { + public Builder setScaling( + com.google.cloud.run.v2.RevisionScaling.Builder builderForValue) { if (scalingBuilder_ == null) { scaling_ = builderForValue.build(); onChanged(); @@ -4313,8 +3892,6 @@ public Builder setScaling(com.google.cloud.run.v2.RevisionScaling.Builder builde return this; } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4325,9 +3902,7 @@ public Builder mergeScaling(com.google.cloud.run.v2.RevisionScaling value) { if (scalingBuilder_ == null) { if (scaling_ != null) { scaling_ = - com.google.cloud.run.v2.RevisionScaling.newBuilder(scaling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.RevisionScaling.newBuilder(scaling_).mergeFrom(value).buildPartial(); } else { scaling_ = value; } @@ -4339,8 +3914,6 @@ public Builder mergeScaling(com.google.cloud.run.v2.RevisionScaling value) { return this; } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4359,8 +3932,6 @@ public Builder clearScaling() { return this; } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4368,13 +3939,11 @@ public Builder clearScaling() { * .google.cloud.run.v2.RevisionScaling scaling = 12; */ public com.google.cloud.run.v2.RevisionScaling.Builder getScalingBuilder() { - + onChanged(); return getScalingFieldBuilder().getBuilder(); } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4385,14 +3954,11 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { if (scalingBuilder_ != null) { return scalingBuilder_.getMessageOrBuilder(); } else { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? + com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } } /** - * - * *
      * Scaling settings for this revision.
      * 
@@ -4400,17 +3966,14 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { * .google.cloud.run.v2.RevisionScaling scaling = 12; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder> + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder> getScalingFieldBuilder() { if (scalingBuilder_ == null) { - scalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder>( - getScaling(), getParentForChildren(), isClean()); + scalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder>( + getScaling(), + getParentForChildren(), + isClean()); scaling_ = null; } return scalingBuilder_; @@ -4418,49 +3981,36 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { private com.google.cloud.run.v2.VpcAccess vpcAccess_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder> - vpcAccessBuilder_; + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> vpcAccessBuilder_; /** - * - * *
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return Whether the vpcAccess field is set. */ public boolean hasVpcAccess() { return vpcAccessBuilder_ != null || vpcAccess_ != null; } /** - * - * *
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return The vpcAccess. */ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { if (vpcAccessBuilder_ == null) { - return vpcAccess_ == null - ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() - : vpcAccess_; + return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } else { return vpcAccessBuilder_.getMessage(); } } /** - * - * *
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4482,8 +4032,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4491,7 +4039,8 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
      *
      * .google.cloud.run.v2.VpcAccess vpc_access = 13;
      */
-    public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
+    public Builder setVpcAccess(
+        com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
       if (vpcAccessBuilder_ == null) {
         vpcAccess_ = builderForValue.build();
         onChanged();
@@ -4502,8 +4051,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4515,9 +4062,7 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       if (vpcAccessBuilder_ == null) {
         if (vpcAccess_ != null) {
           vpcAccess_ =
-              com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_).mergeFrom(value).buildPartial();
         } else {
           vpcAccess_ = value;
         }
@@ -4529,8 +4074,6 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4550,8 +4093,6 @@ public Builder clearVpcAccess() {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4560,13 +4101,11 @@ public Builder clearVpcAccess() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 13;
      */
     public com.google.cloud.run.v2.VpcAccess.Builder getVpcAccessBuilder() {
-
+      
       onChanged();
       return getVpcAccessFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4578,14 +4117,11 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
       if (vpcAccessBuilder_ != null) {
         return vpcAccessBuilder_.getMessageOrBuilder();
       } else {
-        return vpcAccess_ == null
-            ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance()
-            : vpcAccess_;
+        return vpcAccess_ == null ?
+            com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_;
       }
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration for this Revision. For more information, visit
      * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -4594,32 +4130,26 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 13;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.VpcAccess,
-            com.google.cloud.run.v2.VpcAccess.Builder,
-            com.google.cloud.run.v2.VpcAccessOrBuilder>
+        com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> 
         getVpcAccessFieldBuilder() {
       if (vpcAccessBuilder_ == null) {
-        vpcAccessBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.VpcAccess,
-                com.google.cloud.run.v2.VpcAccess.Builder,
-                com.google.cloud.run.v2.VpcAccessOrBuilder>(
-                getVpcAccess(), getParentForChildren(), isClean());
+        vpcAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder>(
+                getVpcAccess(),
+                getParentForChildren(),
+                isClean());
         vpcAccess_ = null;
       }
       return vpcAccessBuilder_;
     }
 
-    private int maxInstanceRequestConcurrency_;
+    private int maxInstanceRequestConcurrency_ ;
     /**
-     *
-     *
      * 
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 34; - * * @return The maxInstanceRequestConcurrency. */ @java.lang.Override @@ -4627,36 +4157,30 @@ public int getMaxInstanceRequestConcurrency() { return maxInstanceRequestConcurrency_; } /** - * - * *
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 34; - * * @param value The maxInstanceRequestConcurrency to set. * @return This builder for chaining. */ public Builder setMaxInstanceRequestConcurrency(int value) { - + maxInstanceRequestConcurrency_ = value; onChanged(); return this; } /** - * - * *
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 34; - * * @return This builder for chaining. */ public Builder clearMaxInstanceRequestConcurrency() { - + maxInstanceRequestConcurrency_ = 0; onChanged(); return this; @@ -4664,33 +4188,24 @@ public Builder clearMaxInstanceRequestConcurrency() { private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 15; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 15; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -4701,8 +4216,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4723,15 +4236,14 @@ public Builder setTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 15; */ - public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeout( + com.google.protobuf.Duration.Builder builderForValue) { if (timeoutBuilder_ == null) { timeout_ = builderForValue.build(); onChanged(); @@ -4742,8 +4254,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4754,7 +4264,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) { if (timeoutBuilder_ == null) { if (timeout_ != null) { timeout_ = - com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); } else { timeout_ = value; } @@ -4766,8 +4276,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4786,8 +4294,6 @@ public Builder clearTimeout() { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4795,13 +4301,11 @@ public Builder clearTimeout() { * .google.protobuf.Duration timeout = 15; */ public com.google.protobuf.Duration.Builder getTimeoutBuilder() { - + onChanged(); return getTimeoutFieldBuilder().getBuilder(); } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4812,12 +4316,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { if (timeoutBuilder_ != null) { return timeoutBuilder_.getMessageOrBuilder(); } else { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; + return timeout_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeout_; } } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -4825,17 +4328,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { * .google.protobuf.Duration timeout = 15; */ 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> getTimeoutFieldBuilder() { if (timeoutBuilder_ == null) { - timeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeout(), getParentForChildren(), isClean()); + timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeout(), + getParentForChildren(), + isClean()); timeout_ = null; } return timeoutBuilder_; @@ -4843,8 +4343,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -4852,13 +4350,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * 
* * string service_account = 16; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -4867,8 +4365,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -4876,14 +4372,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 16; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -4891,8 +4388,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -4900,22 +4395,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 16; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -4923,18 +4416,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 16; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -4942,40 +4432,34 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 16; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } private java.util.List containers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContainersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Container, - com.google.cloud.run.v2.Container.Builder, - com.google.cloud.run.v2.ContainerOrBuilder> - containersBuilder_; + com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> containersBuilder_; /** - * - * *
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -4991,8 +4475,6 @@ public java.util.List getContainersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5008,8 +4490,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5025,8 +4505,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5034,7 +4512,8 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public Builder setContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder setContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5048,8 +4527,6 @@ public Builder setContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5069,8 +4546,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5092,8 +4567,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5101,7 +4574,8 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public Builder addContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder addContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5115,8 +4589,6 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5124,7 +4596,8 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderForValue) {
+    public Builder addContainers(
+        com.google.cloud.run.v2.Container.Builder builderForValue) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
         containers_.add(builderForValue.build());
@@ -5135,8 +4608,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5156,8 +4627,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5169,7 +4638,8 @@ public Builder addAllContainers(
         java.lang.Iterable values) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, containers_);
         onChanged();
       } else {
         containersBuilder_.addAllMessages(values);
@@ -5177,8 +4647,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5197,8 +4665,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5217,8 +4683,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5226,12 +4690,11 @@ public Builder removeContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index) {
+    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(
+        int index) {
       return getContainersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5239,16 +4702,14 @@ public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+        int index) {
       if (containersBuilder_ == null) {
-        return containers_.get(index);
-      } else {
+        return containers_.get(index);  } else {
         return containersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5256,8 +4717,8 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public java.util.List
-        getContainersOrBuilderList() {
+    public java.util.List 
+         getContainersOrBuilderList() {
       if (containersBuilder_ != null) {
         return containersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5265,8 +4726,6 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5275,12 +4734,10 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
     public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
-      return getContainersFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.Container.getDefaultInstance());
+      return getContainersFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5288,13 +4745,12 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index) {
-      return getContainersFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.Container.getDefaultInstance());
+    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(
+        int index) {
+      return getContainersFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -5302,46 +4758,38 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 17;
      */
-    public java.util.List getContainersBuilderList() {
+    public java.util.List 
+         getContainersBuilderList() {
       return getContainersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Container,
-            com.google.cloud.run.v2.Container.Builder,
-            com.google.cloud.run.v2.ContainerOrBuilder>
+        com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> 
         getContainersFieldBuilder() {
       if (containersBuilder_ == null) {
-        containersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.Container,
-                com.google.cloud.run.v2.Container.Builder,
-                com.google.cloud.run.v2.ContainerOrBuilder>(
-                containers_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder>(
+                containers_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         containers_ = null;
       }
       return containersBuilder_;
     }
 
     private java.util.List volumes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVolumesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         volumes_ = new java.util.ArrayList(volumes_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Volume,
-            com.google.cloud.run.v2.Volume.Builder,
-            com.google.cloud.run.v2.VolumeOrBuilder>
-        volumesBuilder_;
+        com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> volumesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of Volumes to make available to containers.
      * 
@@ -5356,8 +4804,6 @@ public java.util.List getVolumesList() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5372,8 +4818,6 @@ public int getVolumesCount() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5388,15 +4832,14 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5410,15 +4853,14 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.set(index, builderForValue.build()); @@ -5429,8 +4871,6 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5451,15 +4891,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5473,15 +4912,14 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(builderForValue.build()); @@ -5492,15 +4930,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(index, builderForValue.build()); @@ -5511,8 +4948,6 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5523,7 +4958,8 @@ public Builder addAllVolumes( java.lang.Iterable values) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, volumes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, volumes_); onChanged(); } else { volumesBuilder_.addAllMessages(values); @@ -5531,8 +4967,6 @@ public Builder addAllVolumes( return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5550,8 +4984,6 @@ public Builder clearVolumes() { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5569,44 +5001,39 @@ public Builder removeVolumes(int index) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder(int index) { + public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder( + int index) { return getVolumesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { if (volumesBuilder_ == null) { - return volumes_.get(index); - } else { + return volumes_.get(index); } else { return volumesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public java.util.List - getVolumesOrBuilderList() { + public java.util.List + getVolumesOrBuilderList() { if (volumesBuilder_ != null) { return volumesBuilder_.getMessageOrBuilderList(); } else { @@ -5614,8 +5041,6 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5623,47 +5048,42 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { * repeated .google.cloud.run.v2.Volume volumes = 18; */ public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder() { - return getVolumesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Volume.getDefaultInstance()); + return getVolumesFieldBuilder().addBuilder( + com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder(int index) { - return getVolumesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Volume.getDefaultInstance()); + public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder( + int index) { + return getVolumesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - public java.util.List getVolumesBuilderList() { + public java.util.List + getVolumesBuilderList() { return getVolumesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder> + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> getVolumesFieldBuilder() { if (volumesBuilder_ == null) { - volumesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder>( - volumes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + volumesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder>( + volumes_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); volumes_ = null; } return volumesBuilder_; @@ -5671,65 +5091,51 @@ public java.util.List getVolumesBuilderL private int executionEnvironment_ = 0; /** - * - * *
      * The execution environment being used to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
      * The execution environment being used to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @param value The enum numeric value on the wire for executionEnvironment to set. * @return This builder for chaining. */ public Builder setExecutionEnvironmentValue(int value) { - + executionEnvironment_ = value; onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } /** - * - * *
      * The execution environment being used to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @param value The executionEnvironment to set. * @return This builder for chaining. */ @@ -5737,24 +5143,21 @@ public Builder setExecutionEnvironment(com.google.cloud.run.v2.ExecutionEnvironm if (value == null) { throw new NullPointerException(); } - + executionEnvironment_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return This builder for chaining. */ public Builder clearExecutionEnvironment() { - + executionEnvironment_ = 0; onChanged(); return this; @@ -5762,8 +5165,6 @@ public Builder clearExecutionEnvironment() { private java.lang.Object encryptionKey_ = ""; /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -5771,13 +5172,13 @@ public Builder clearExecutionEnvironment() {
      * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ public java.lang.String getEncryptionKey() { java.lang.Object ref = encryptionKey_; 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(); encryptionKey_ = s; return s; @@ -5786,8 +5187,6 @@ public java.lang.String getEncryptionKey() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -5795,14 +5194,15 @@ public java.lang.String getEncryptionKey() {
      * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -5810,8 +5210,6 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -5819,22 +5217,20 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() {
      * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @param value The encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKey(java.lang.String value) { + public Builder setEncryptionKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encryptionKey_ = value; onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -5842,18 +5238,15 @@ public Builder setEncryptionKey(java.lang.String value) {
      * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEncryptionKey() { - + encryptionKey_ = getDefaultInstance().getEncryptionKey(); onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -5861,25 +5254,23 @@ public Builder clearEncryptionKey() {
      * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { + public Builder setEncryptionKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encryptionKey_ = value; onChanged(); return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Service.reconciling` for additional information on
@@ -5887,7 +5278,6 @@ public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -5895,8 +5285,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Service.reconciling` for additional information on
@@ -5904,19 +5292,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Service.reconciling` for additional information on
@@ -5924,43 +5309,34 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - conditionsBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { @@ -5970,16 +5346,12 @@ public java.util.List getConditionsList() { } } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -5989,16 +5361,12 @@ public int getConditionsCount() { } } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition getConditions(int index) { if (conditionsBuilder_ == null) { @@ -6008,18 +5376,15 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { } } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder setConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6033,16 +5398,12 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6056,16 +5417,12 @@ public Builder setConditions( return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions(com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { @@ -6081,18 +5438,15 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder addConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6106,18 +5460,15 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder addConditions( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -6128,16 +5479,12 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6151,22 +5498,19 @@ public Builder addConditions( return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -6174,16 +5518,12 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -6196,16 +5536,12 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -6218,53 +5554,42 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) { + public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -6272,74 +5597,59 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind } } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Condition.getDefaultInstance()); + public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Condition of this Revision, containing its readiness status, and
      * detailed error information in case it did not reach a serving state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private long observedGeneration_; + private long observedGeneration_ ; /** - * - * *
      * Output only. The generation of this Revision currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -6347,7 +5657,6 @@ public java.util.List getConditionsBu
      * 
* * int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -6355,8 +5664,6 @@ public long getObservedGeneration() { return observedGeneration_; } /** - * - * *
      * Output only. The generation of this Revision currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -6364,19 +5671,16 @@ public long getObservedGeneration() {
      * 
* * int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The observedGeneration to set. * @return This builder for chaining. */ public Builder setObservedGeneration(long value) { - + observedGeneration_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The generation of this Revision currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -6384,11 +5688,10 @@ public Builder setObservedGeneration(long value) {
      * 
* * int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearObservedGeneration() { - + observedGeneration_ = 0L; onChanged(); return this; @@ -6396,20 +5699,18 @@ public Builder clearObservedGeneration() { private java.lang.Object logUri_ = ""; /** - * - * *
      * Output only. The Google Console URI to obtain logs for the Revision.
      * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The logUri. */ public java.lang.String getLogUri() { java.lang.Object ref = logUri_; 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(); logUri_ = s; return s; @@ -6418,21 +5719,20 @@ public java.lang.String getLogUri() { } } /** - * - * *
      * Output only. The Google Console URI to obtain logs for the Revision.
      * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for logUri. */ - public com.google.protobuf.ByteString getLogUriBytes() { + public com.google.protobuf.ByteString + getLogUriBytes() { java.lang.Object ref = logUri_; 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); logUri_ = b; return b; } else { @@ -6440,61 +5740,54 @@ public com.google.protobuf.ByteString getLogUriBytes() { } } /** - * - * *
      * Output only. The Google Console URI to obtain logs for the Revision.
      * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The logUri to set. * @return This builder for chaining. */ - public Builder setLogUri(java.lang.String value) { + public Builder setLogUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + logUri_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Google Console URI to obtain logs for the Revision.
      * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLogUri() { - + logUri_ = getDefaultInstance().getLogUri(); onChanged(); return this; } /** - * - * *
      * Output only. The Google Console URI to obtain logs for the Revision.
      * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for logUri to set. * @return This builder for chaining. */ - public Builder setLogUriBytes(com.google.protobuf.ByteString value) { + public Builder setLogUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + logUri_ = value; onChanged(); return this; @@ -6502,21 +5795,19 @@ public Builder setLogUriBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -6525,22 +5816,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -6548,71 +5838,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -6622,12 +5905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Revision) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Revision) private static final com.google.cloud.run.v2.Revision DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Revision(); } @@ -6636,27 +5919,27 @@ public static com.google.cloud.run.v2.Revision getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Revision parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Revision parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6671,4 +5954,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Revision getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java similarity index 81% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java index 1ebeb9a331ec..946412fb15f0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionOrBuilder.java @@ -1,97 +1,66 @@ -/* - * 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/run/v2/revision.proto package com.google.cloud.run.v2; -public interface RevisionOrBuilder - extends +public interface RevisionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Revision) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The unique name of this Revision.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The unique name of this Revision.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server assigned unique identifier for the Revision. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ long getGeneration(); /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -108,8 +77,6 @@ public interface RevisionOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -124,13 +91,15 @@ public interface RevisionOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -145,10 +114,9 @@ public interface RevisionOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -165,13 +133,11 @@ public interface RevisionOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -186,11 +152,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
@@ -199,31 +165,30 @@ java.lang.String getLabelsOrDefault( */ int getAnnotationsCount(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -232,185 +197,139 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -419,13 +338,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** - * - * *
    * Set the launch stage to a preview stage on write to allow use of preview
    * features in that stage. On read, describes whether the resource uses
@@ -434,67 +350,49 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 10; - * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** - * - * *
    * Output only. The name of the parent service.
    * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The service. */ java.lang.String getService(); /** - * - * *
    * Output only. The name of the parent service.
    * 
* - * - * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string service = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for service. */ - com.google.protobuf.ByteString getServiceBytes(); + com.google.protobuf.ByteString + getServiceBytes(); /** - * - * *
    * Scaling settings for this revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return Whether the scaling field is set. */ boolean hasScaling(); /** - * - * *
    * Scaling settings for this revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 12; - * * @return The scaling. */ com.google.cloud.run.v2.RevisionScaling getScaling(); /** - * - * *
    * Scaling settings for this revision.
    * 
@@ -504,34 +402,26 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder(); /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return Whether the vpcAccess field is set. */ boolean hasVpcAccess(); /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 13; - * * @return The vpcAccess. */ com.google.cloud.run.v2.VpcAccess getVpcAccess(); /** - * - * *
    * VPC Access configuration for this Revision. For more information, visit
    * https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -542,45 +432,34 @@ java.lang.String getAnnotationsOrDefault(
   com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder();
 
   /**
-   *
-   *
    * 
    * Sets the maximum number of requests that each serving instance can receive.
    * 
* * int32 max_instance_request_concurrency = 34; - * * @return The maxInstanceRequestConcurrency. */ int getMaxInstanceRequestConcurrency(); /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 15; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 15; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
@@ -590,8 +469,6 @@ java.lang.String getAnnotationsOrDefault( com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder(); /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -599,13 +476,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 16; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -613,14 +487,12 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 16; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -628,10 +500,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 17;
    */
-  java.util.List getContainersList();
+  java.util.List 
+      getContainersList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -641,8 +512,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   com.google.cloud.run.v2.Container getContainers(int index);
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -652,8 +521,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   int getContainersCount();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -661,10 +528,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 17;
    */
-  java.util.List getContainersOrBuilderList();
+  java.util.List 
+      getContainersOrBuilderList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -672,21 +538,19 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 17;
    */
-  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index);
+  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - java.util.List getVolumesList(); + java.util.List + getVolumesList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -695,8 +559,6 @@ java.lang.String getAnnotationsOrDefault( */ com.google.cloud.run.v2.Volume getVolumes(int index); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -705,54 +567,44 @@ java.lang.String getAnnotationsOrDefault( */ int getVolumesCount(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - java.util.List getVolumesOrBuilderList(); + java.util.List + getVolumesOrBuilderList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 18; */ - com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index); + com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index); /** - * - * *
    * The execution environment being used to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ int getExecutionEnvironmentValue(); /** - * - * *
    * The execution environment being used to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -760,13 +612,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ java.lang.String getEncryptionKey(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -774,14 +623,12 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string encryption_key = 21 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - com.google.protobuf.ByteString getEncryptionKeyBytes(); + com.google.protobuf.ByteString + getEncryptionKeyBytes(); /** - * - * *
    * Output only. Indicates whether the resource's reconciliation is still in progress.
    * See comments in `Service.reconciling` for additional information on
@@ -789,80 +636,60 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.Condition getConditions(int index); /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getConditionsCount(); /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsOrBuilderList(); + java.util.List + getConditionsOrBuilderList(); /** - * - * *
    * Output only. The Condition of this Revision, containing its readiness status, and
    * detailed error information in case it did not reach a serving state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Output only. The generation of this Revision currently serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
@@ -870,60 +697,49 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * int64 observed_generation = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ long getObservedGeneration(); /** - * - * *
    * Output only. The Google Console URI to obtain logs for the Revision.
    * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The logUri. */ java.lang.String getLogUri(); /** - * - * *
    * Output only. The Google Console URI to obtain logs for the Revision.
    * 
* * string log_uri = 33 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for logUri. */ - com.google.protobuf.ByteString getLogUriBytes(); + com.google.protobuf.ByteString + getLogUriBytes(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java new file mode 100644 index 000000000000..1829e7d43250 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionProto.java @@ -0,0 +1,226 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/revision.proto + +package com.google.cloud.run.v2; + +public final class RevisionProto { + private RevisionProto() {} + 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_run_v2_GetRevisionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Revision_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Revision_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_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/run/v2/revision.proto\022\023go" + + "ogle.cloud.run.v2\032\034google/api/annotation" + + "s.proto\032\027google/api/client.proto\032\037google" + + "/api/field_behavior.proto\032\035google/api/la" + + "unch_stage.proto\032\031google/api/resource.pr" + + "oto\032\030google/api/routing.proto\032#google/cl" + + "oud/run/v2/condition.proto\032!google/cloud" + + "/run/v2/k8s.min.proto\032)google/cloud/run/" + + "v2/vendor_settings.proto\032#google/longrun" + + "ning/operations.proto\032\036google/protobuf/d" + + "uration.proto\032\037google/protobuf/timestamp" + + ".proto\"G\n\022GetRevisionRequest\0221\n\004name\030\001 \001" + + "(\tB#\340A\002\372A\035\n\033run.googleapis.com/Revision\"" + + "\210\001\n\024ListRevisionsRequest\0223\n\006parent\030\001 \001(\t" + + "B#\340A\002\372A\035\022\033run.googleapis.com/Revision\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014" + + "show_deleted\030\004 \001(\010\"b\n\025ListRevisionsRespo" + + "nse\0220\n\trevisions\030\001 \003(\0132\035.google.cloud.ru" + + "n.v2.Revision\022\027\n\017next_page_token\030\002 \001(\t\"o" + + "\n\025DeleteRevisionRequest\0221\n\004name\030\001 \001(\tB#\340" + + "A\002\372A\035\n\033run.googleapis.com/Revision\022\025\n\rva" + + "lidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t\"\301\n\n\010Revi" + + "sion\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A" + + "\003\022\027\n\ngeneration\030\003 \001(\003B\003\340A\003\0229\n\006labels\030\004 \003" + + "(\0132).google.cloud.run.v2.Revision.Labels" + + "Entry\022C\n\013annotations\030\005 \003(\0132..google.clou" + + "d.run.v2.Revision.AnnotationsEntry\0224\n\013cr" + + "eate_time\030\006 \001(\0132\032.google.protobuf.Timest" + + "ampB\003\340A\003\0224\n\013update_time\030\007 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0224\n\013delete_time\030\010 " + + "\001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013" + + "expire_time\030\t \001(\0132\032.google.protobuf.Time" + + "stampB\003\340A\003\022-\n\014launch_stage\030\n \001(\0162\027.googl" + + "e.api.LaunchStage\0223\n\007service\030\013 \001(\tB\"\340A\003\372" + + "A\034\n\032run.googleapis.com/Service\0225\n\007scalin" + + "g\030\014 \001(\0132$.google.cloud.run.v2.RevisionSc" + + "aling\0222\n\nvpc_access\030\r \001(\0132\036.google.cloud" + + ".run.v2.VpcAccess\022(\n max_instance_reques" + + "t_concurrency\030\" \001(\005\022*\n\007timeout\030\017 \001(\0132\031.g" + + "oogle.protobuf.Duration\022\027\n\017service_accou" + + "nt\030\020 \001(\t\0222\n\ncontainers\030\021 \003(\0132\036.google.cl" + + "oud.run.v2.Container\022,\n\007volumes\030\022 \003(\0132\033." + + "google.cloud.run.v2.Volume\022H\n\025execution_" + + "environment\030\024 \001(\0162).google.cloud.run.v2." + + "ExecutionEnvironment\022>\n\016encryption_key\030\025" + + " \001(\tB&\372A#\n!cloudkms.googleapis.com/Crypt" + + "oKey\022\030\n\013reconciling\030\036 \001(\010B\003\340A\003\0227\n\ncondit" + + "ions\030\037 \003(\0132\036.google.cloud.run.v2.Conditi" + + "onB\003\340A\003\022 \n\023observed_generation\030 \001(\003B\003\340A" + + "\003\022\024\n\007log_uri\030! \001(\tB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340" + + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001:t\352Aq\n\033run.googleap" + + "is.com/Revision\022Oprojects/{project}/loca" + + "tions/{location}/services/{service}/revi" + + "sions/{revision}R\001\0012\205\006\n\tRevisions\022\322\001\n\013Ge" + + "tRevision\022\'.google.cloud.run.v2.GetRevis" + + "ionRequest\032\035.google.cloud.run.v2.Revisio" + + "n\"{\202\323\344\223\002:\0228/v2/{name=projects/*/location" + + "s/*/services/*/revisions/*}\212\323\344\223\002.\022,\n\004nam" + + "e\022$projects/*/locations/{location=*}/**\332" + + "A\004name\022\347\001\n\rListRevisions\022).google.cloud." + + "run.v2.ListRevisionsRequest\032*.google.clo" + + "ud.run.v2.ListRevisionsResponse\"\177\202\323\344\223\002:\022" + + "8/v2/{parent=projects/*/locations/*/serv" + + "ices/*}/revisions\212\323\344\223\0020\022.\n\006parent\022$proje" + + "cts/*/locations/{location=*}/**\332A\006parent" + + "\022\360\001\n\016DeleteRevision\022*.google.cloud.run.v" + + "2.DeleteRevisionRequest\032\035.google.longrun" + + "ning.Operation\"\222\001\202\323\344\223\002:*8/v2/{name=proje" + + "cts/*/locations/*/services/*/revisions/*" + + "}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{l" + + "ocation=*}/**\332A\004name\312A\024\n\010Revision\022\010Revis" + + "ion\032F\312A\022run.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformBb\n\027c" + + "om.google.cloud.run.v2B\rRevisionProtoP\001Z" + + "6google.golang.org/genproto/googleapis/c" + + "loud/run/v2;runb\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.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.cloud.run.v2.ConditionProto.getDescriptor(), + com.google.cloud.run.v2.K8sMinProto.getDescriptor(), + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_GetRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GetRevisionRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_ListRevisionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListRevisionsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_ListRevisionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListRevisionsResponse_descriptor, + new java.lang.String[] { "Revisions", "NextPageToken", }); + internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_DeleteRevisionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_DeleteRevisionRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "Etag", }); + internal_static_google_cloud_run_v2_Revision_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_Revision_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Revision_descriptor, + new java.lang.String[] { "Name", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "UpdateTime", "DeleteTime", "ExpireTime", "LaunchStage", "Service", "Scaling", "VpcAccess", "MaxInstanceRequestConcurrency", "Timeout", "ServiceAccount", "Containers", "Volumes", "ExecutionEnvironment", "EncryptionKey", "Reconciling", "Conditions", "ObservedGeneration", "LogUri", "Etag", }); + internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_Revision_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Revision_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_Revision_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Revision_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + 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.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.api.RoutingProto.routing); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.RoutingProto.getDescriptor(); + com.google.cloud.run.v2.ConditionProto.getDescriptor(); + com.google.cloud.run.v2.K8sMinProto.getDescriptor(); + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java index dff47a57d3f3..48a7962b0ebf 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScaling.java @@ -1,81 +1,60 @@ -/* - * 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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; /** - * - * *
  * Settings for revision-level scaling settings.
  * 
* * Protobuf type {@code google.cloud.run.v2.RevisionScaling} */ -public final class RevisionScaling extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RevisionScaling extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.RevisionScaling) RevisionScalingOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RevisionScaling.newBuilder() to construct. private RevisionScaling(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RevisionScaling() {} + private RevisionScaling() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RevisionScaling(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_RevisionScaling_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_RevisionScaling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.RevisionScaling.class, - com.google.cloud.run.v2.RevisionScaling.Builder.class); + com.google.cloud.run.v2.RevisionScaling.class, com.google.cloud.run.v2.RevisionScaling.Builder.class); } public static final int MIN_INSTANCE_COUNT_FIELD_NUMBER = 1; private int minInstanceCount_; /** - * - * *
    * Minimum number of serving instances that this resource should have.
    * 
* * int32 min_instance_count = 1; - * * @return The minInstanceCount. */ @java.lang.Override @@ -86,14 +65,11 @@ public int getMinInstanceCount() { public static final int MAX_INSTANCE_COUNT_FIELD_NUMBER = 2; private int maxInstanceCount_; /** - * - * *
    * Maximum number of serving instances that this resource should have.
    * 
* * int32 max_instance_count = 2; - * * @return The maxInstanceCount. */ @java.lang.Override @@ -102,7 +78,6 @@ public int getMaxInstanceCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,7 +89,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 (minInstanceCount_ != 0) { output.writeInt32(1, minInstanceCount_); } @@ -131,10 +107,12 @@ public int getSerializedSize() { size = 0; if (minInstanceCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minInstanceCount_); } if (maxInstanceCount_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxInstanceCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxInstanceCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -144,15 +122,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.run.v2.RevisionScaling)) { return super.equals(obj); } com.google.cloud.run.v2.RevisionScaling other = (com.google.cloud.run.v2.RevisionScaling) obj; - if (getMinInstanceCount() != other.getMinInstanceCount()) return false; - if (getMaxInstanceCount() != other.getMaxInstanceCount()) return false; + if (getMinInstanceCount() + != other.getMinInstanceCount()) return false; + if (getMaxInstanceCount() + != other.getMaxInstanceCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -173,136 +153,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.RevisionScaling parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.RevisionScaling parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionScaling 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.run.v2.RevisionScaling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionScaling 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.run.v2.RevisionScaling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionScaling 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.run.v2.RevisionScaling 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.run.v2.RevisionScaling 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.run.v2.RevisionScaling parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.RevisionScaling parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.RevisionScaling 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.run.v2.RevisionScaling 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.run.v2.RevisionScaling 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.run.v2.RevisionScaling 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 for revision-level scaling settings.
    * 
* * Protobuf type {@code google.cloud.run.v2.RevisionScaling} */ - 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.run.v2.RevisionScaling) com.google.cloud.run.v2.RevisionScalingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_RevisionScaling_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_RevisionScaling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.RevisionScaling.class, - com.google.cloud.run.v2.RevisionScaling.Builder.class); + com.google.cloud.run.v2.RevisionScaling.class, com.google.cloud.run.v2.RevisionScaling.Builder.class); } // Construct using com.google.cloud.run.v2.RevisionScaling.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -314,9 +288,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.VendorSettingsProto - .internal_static_google_cloud_run_v2_RevisionScaling_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_RevisionScaling_descriptor; } @java.lang.Override @@ -335,8 +309,7 @@ public com.google.cloud.run.v2.RevisionScaling build() { @java.lang.Override public com.google.cloud.run.v2.RevisionScaling buildPartial() { - com.google.cloud.run.v2.RevisionScaling result = - new com.google.cloud.run.v2.RevisionScaling(this); + com.google.cloud.run.v2.RevisionScaling result = new com.google.cloud.run.v2.RevisionScaling(this); result.minInstanceCount_ = minInstanceCount_; result.maxInstanceCount_ = maxInstanceCount_; onBuilt(); @@ -347,39 +320,38 @@ public com.google.cloud.run.v2.RevisionScaling 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.run.v2.RevisionScaling) { - return mergeFrom((com.google.cloud.run.v2.RevisionScaling) other); + return mergeFrom((com.google.cloud.run.v2.RevisionScaling)other); } else { super.mergeFrom(other); return this; @@ -420,25 +392,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minInstanceCount_ = input.readInt32(); - - break; - } // case 8 - case 16: - { - maxInstanceCount_ = input.readInt32(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minInstanceCount_ = input.readInt32(); + + break; + } // case 8 + case 16: { + maxInstanceCount_ = input.readInt32(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -449,16 +418,13 @@ public Builder mergeFrom( return this; } - private int minInstanceCount_; + private int minInstanceCount_ ; /** - * - * *
      * Minimum number of serving instances that this resource should have.
      * 
* * int32 min_instance_count = 1; - * * @return The minInstanceCount. */ @java.lang.Override @@ -466,51 +432,42 @@ public int getMinInstanceCount() { return minInstanceCount_; } /** - * - * *
      * Minimum number of serving instances that this resource should have.
      * 
* * int32 min_instance_count = 1; - * * @param value The minInstanceCount to set. * @return This builder for chaining. */ public Builder setMinInstanceCount(int value) { - + minInstanceCount_ = value; onChanged(); return this; } /** - * - * *
      * Minimum number of serving instances that this resource should have.
      * 
* * int32 min_instance_count = 1; - * * @return This builder for chaining. */ public Builder clearMinInstanceCount() { - + minInstanceCount_ = 0; onChanged(); return this; } - private int maxInstanceCount_; + private int maxInstanceCount_ ; /** - * - * *
      * Maximum number of serving instances that this resource should have.
      * 
* * int32 max_instance_count = 2; - * * @return The maxInstanceCount. */ @java.lang.Override @@ -518,43 +475,37 @@ public int getMaxInstanceCount() { return maxInstanceCount_; } /** - * - * *
      * Maximum number of serving instances that this resource should have.
      * 
* * int32 max_instance_count = 2; - * * @param value The maxInstanceCount to set. * @return This builder for chaining. */ public Builder setMaxInstanceCount(int value) { - + maxInstanceCount_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of serving instances that this resource should have.
      * 
* * int32 max_instance_count = 2; - * * @return This builder for chaining. */ public Builder clearMaxInstanceCount() { - + maxInstanceCount_ = 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); } @@ -564,12 +515,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.RevisionScaling) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.RevisionScaling) private static final com.google.cloud.run.v2.RevisionScaling DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.RevisionScaling(); } @@ -578,27 +529,27 @@ public static com.google.cloud.run.v2.RevisionScaling getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RevisionScaling parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RevisionScaling parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -613,4 +564,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.RevisionScaling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java similarity index 51% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java index 90a7a2039e0b..caca17cac017 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionScalingOrBuilder.java @@ -1,50 +1,28 @@ -/* - * 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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; -public interface RevisionScalingOrBuilder - extends +public interface RevisionScalingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.RevisionScaling) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Minimum number of serving instances that this resource should have.
    * 
* * int32 min_instance_count = 1; - * * @return The minInstanceCount. */ int getMinInstanceCount(); /** - * - * *
    * Maximum number of serving instances that this resource should have.
    * 
* * int32 max_instance_count = 2; - * * @return The maxInstanceCount. */ int getMaxInstanceCount(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java index cb4649bac6e6..314429ba7ae2 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplate.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/run/v2/revision_template.proto package com.google.cloud.run.v2; /** - * - * *
  * RevisionTemplate describes the data a revision should have when created from
  * a template.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.RevisionTemplate}
  */
-public final class RevisionTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RevisionTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.RevisionTemplate)
     RevisionTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RevisionTemplate.newBuilder() to construct.
   private RevisionTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RevisionTemplate() {
     revision_ = "";
     serviceAccount_ = "";
@@ -49,55 +31,52 @@ private RevisionTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RevisionTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.RevisionTemplateProto
-        .internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_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 2:
         return internalGetLabels();
       case 3:
         return internalGetAnnotations();
       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.run.v2.RevisionTemplateProto
-        .internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable
+    return com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.RevisionTemplate.class,
-            com.google.cloud.run.v2.RevisionTemplate.Builder.class);
+            com.google.cloud.run.v2.RevisionTemplate.class, com.google.cloud.run.v2.RevisionTemplate.Builder.class);
   }
 
   public static final int REVISION_FIELD_NUMBER = 1;
   private volatile java.lang.Object revision_;
   /**
-   *
-   *
    * 
    * The unique name for the revision. If this field is omitted, it will be
    * automatically generated based on the Service name.
    * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ @java.lang.Override @@ -106,30 +85,30 @@ public java.lang.String getRevision() { 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(); revision_ = s; return s; } } /** - * - * *
    * The unique name for the revision. If this field is omitted, it will be
    * automatically generated based on the Service name.
    * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -138,23 +117,24 @@ public com.google.protobuf.ByteString getRevisionBytes() { } public static final int LABELS_FIELD_NUMBER = 2; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.RevisionTemplateProto - .internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -163,30 +143,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 2; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -194,12 +172,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 2; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -207,16 +184,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -224,11 +201,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -236,24 +214,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int ANNOTATIONS_FIELD_NUMBER = 3; - private static final class AnnotationsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.RevisionTemplateProto - .internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField annotations_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { - return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } @@ -262,30 +240,28 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 3; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -293,12 +269,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 3; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -306,17 +281,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 3; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -324,11 +298,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 3; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -338,14 +313,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int SCALING_FIELD_NUMBER = 4; private com.google.cloud.run.v2.RevisionScaling scaling_; /** - * - * *
    * Scaling settings for this Revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return Whether the scaling field is set. */ @java.lang.Override @@ -353,25 +325,18 @@ public boolean hasScaling() { return scaling_ != null; } /** - * - * *
    * Scaling settings for this Revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return The scaling. */ @java.lang.Override public com.google.cloud.run.v2.RevisionScaling getScaling() { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } /** - * - * *
    * Scaling settings for this Revision.
    * 
@@ -386,15 +351,12 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { public static final int VPC_ACCESS_FIELD_NUMBER = 6; private com.google.cloud.run.v2.VpcAccess vpcAccess_; /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return Whether the vpcAccess field is set. */ @java.lang.Override @@ -402,15 +364,12 @@ public boolean hasVpcAccess() { return vpcAccess_ != null; } /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return The vpcAccess. */ @java.lang.Override @@ -418,8 +377,6 @@ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -435,14 +392,11 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
   public static final int TIMEOUT_FIELD_NUMBER = 8;
   private com.google.protobuf.Duration timeout_;
   /**
-   *
-   *
    * 
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -450,14 +404,11 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ @java.lang.Override @@ -465,8 +416,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
@@ -481,8 +430,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 9; private volatile java.lang.Object serviceAccount_; /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -491,7 +438,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ @java.lang.Override @@ -500,15 +446,14 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -517,15 +462,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -536,8 +482,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int CONTAINERS_FIELD_NUMBER = 10; private java.util.List containers_; /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -550,8 +494,6 @@ public java.util.List getContainersList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -560,13 +502,11 @@ public java.util.List getContainersList() {
    * repeated .google.cloud.run.v2.Container containers = 10;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContainersOrBuilderList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -579,8 +519,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -593,8 +531,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
     return containers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -603,15 +539,14 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
    * repeated .google.cloud.run.v2.Container containers = 10;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index) {
     return containers_.get(index);
   }
 
   public static final int VOLUMES_FIELD_NUMBER = 11;
   private java.util.List volumes_;
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
@@ -623,8 +558,6 @@ public java.util.List getVolumesList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -632,13 +565,11 @@ public java.util.List getVolumesList() { * repeated .google.cloud.run.v2.Volume volumes = 11; */ @java.lang.Override - public java.util.List + public java.util.List getVolumesOrBuilderList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -650,8 +581,6 @@ public int getVolumesCount() { return volumes_.size(); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -663,8 +592,6 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { return volumes_.get(index); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -672,51 +599,41 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { * repeated .google.cloud.run.v2.Volume volumes = 11; */ @java.lang.Override - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { return volumes_.get(index); } public static final int EXECUTION_ENVIRONMENT_FIELD_NUMBER = 13; private int executionEnvironment_; /** - * - * *
    * The sandbox environment to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
    * The sandbox environment to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The executionEnvironment. */ - @java.lang.Override - public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { + @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } public static final int ENCRYPTION_KEY_FIELD_NUMBER = 14; private volatile java.lang.Object encryptionKey_; /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -724,7 +641,6 @@ public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() {
    * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ @java.lang.Override @@ -733,15 +649,14 @@ public java.lang.String getEncryptionKey() { 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(); encryptionKey_ = s; return s; } } /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -749,15 +664,16 @@ public java.lang.String getEncryptionKey() {
    * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -768,14 +684,11 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { public static final int MAX_INSTANCE_REQUEST_CONCURRENCY_FIELD_NUMBER = 15; private int maxInstanceRequestConcurrency_; /** - * - * *
    * Sets the maximum number of requests that each serving instance can receive.
    * 
* * int32 max_instance_request_concurrency = 15; - * * @return The maxInstanceRequestConcurrency. */ @java.lang.Override @@ -784,7 +697,6 @@ public int getMaxInstanceRequestConcurrency() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -796,14 +708,23 @@ 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(revision_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, revision_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 3); if (scaling_ != null) { output.writeMessage(4, getScaling()); } @@ -822,9 +743,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < volumes_.size(); i++) { output.writeMessage(11, volumes_.get(i)); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { output.writeEnum(13, executionEnvironment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) { @@ -845,56 +764,59 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, revision_); } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, annotations__); + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, annotations__); } if (scaling_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getScaling()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getScaling()); } if (vpcAccess_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getVpcAccess()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getVpcAccess()); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getTimeout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, serviceAccount_); } for (int i = 0; i < containers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, containers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, containers_.get(i)); } for (int i = 0; i < volumes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, volumes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, volumes_.get(i)); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(13, executionEnvironment_); + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(13, executionEnvironment_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, encryptionKey_); } if (maxInstanceRequestConcurrency_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 15, maxInstanceRequestConcurrency_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, maxInstanceRequestConcurrency_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -904,35 +826,45 @@ 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.run.v2.RevisionTemplate)) { return super.equals(obj); } com.google.cloud.run.v2.RevisionTemplate other = (com.google.cloud.run.v2.RevisionTemplate) obj; - if (!getRevision().equals(other.getRevision())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getRevision() + .equals(other.getRevision())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasScaling() != other.hasScaling()) return false; if (hasScaling()) { - if (!getScaling().equals(other.getScaling())) return false; + if (!getScaling() + .equals(other.getScaling())) return false; } if (hasVpcAccess() != other.hasVpcAccess()) return false; if (hasVpcAccess()) { - if (!getVpcAccess().equals(other.getVpcAccess())) return false; + if (!getVpcAccess() + .equals(other.getVpcAccess())) return false; } if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout().equals(other.getTimeout())) return false; - } - if (!getServiceAccount().equals(other.getServiceAccount())) return false; - if (!getContainersList().equals(other.getContainersList())) return false; - if (!getVolumesList().equals(other.getVolumesList())) return false; + if (!getTimeout() + .equals(other.getTimeout())) return false; + } + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; + if (!getContainersList() + .equals(other.getContainersList())) return false; + if (!getVolumesList() + .equals(other.getVolumesList())) return false; if (executionEnvironment_ != other.executionEnvironment_) return false; - if (!getEncryptionKey().equals(other.getEncryptionKey())) return false; - if (getMaxInstanceRequestConcurrency() != other.getMaxInstanceRequestConcurrency()) - return false; + if (!getEncryptionKey() + .equals(other.getEncryptionKey())) return false; + if (getMaxInstanceRequestConcurrency() + != other.getMaxInstanceRequestConcurrency()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -987,104 +919,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.RevisionTemplate parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.RevisionTemplate parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.RevisionTemplate parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate 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; } /** - * - * *
    * RevisionTemplate describes the data a revision should have when created from
    * a template.
@@ -1092,56 +1017,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.RevisionTemplate}
    */
-  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.run.v2.RevisionTemplate)
       com.google.cloud.run.v2.RevisionTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.RevisionTemplateProto
-          .internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetLabels();
         case 3:
           return internalGetAnnotations();
         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 2:
           return internalGetMutableLabels();
         case 3:
           return internalGetMutableAnnotations();
         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.run.v2.RevisionTemplateProto
-          .internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable
+      return com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.RevisionTemplate.class,
-              com.google.cloud.run.v2.RevisionTemplate.Builder.class);
+              com.google.cloud.run.v2.RevisionTemplate.class, com.google.cloud.run.v2.RevisionTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.RevisionTemplate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1193,9 +1121,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.RevisionTemplateProto
-          .internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.RevisionTemplateProto.internal_static_google_cloud_run_v2_RevisionTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -1214,8 +1142,7 @@ public com.google.cloud.run.v2.RevisionTemplate build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.RevisionTemplate buildPartial() {
-      com.google.cloud.run.v2.RevisionTemplate result =
-          new com.google.cloud.run.v2.RevisionTemplate(this);
+      com.google.cloud.run.v2.RevisionTemplate result = new com.google.cloud.run.v2.RevisionTemplate(this);
       int from_bitField0_ = bitField0_;
       result.revision_ = revision_;
       result.labels_ = internalGetLabels();
@@ -1267,39 +1194,38 @@ public com.google.cloud.run.v2.RevisionTemplate 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.run.v2.RevisionTemplate) {
-        return mergeFrom((com.google.cloud.run.v2.RevisionTemplate) other);
+        return mergeFrom((com.google.cloud.run.v2.RevisionTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1312,8 +1238,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.RevisionTemplate other) {
         revision_ = other.revision_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.hasScaling()) {
         mergeScaling(other.getScaling());
       }
@@ -1345,10 +1273,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.RevisionTemplate other) {
             containersBuilder_ = null;
             containers_ = other.containers_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            containersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getContainersFieldBuilder()
-                    : null;
+            containersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getContainersFieldBuilder() : null;
           } else {
             containersBuilder_.addAllMessages(other.containers_);
           }
@@ -1372,10 +1299,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.RevisionTemplate other) {
             volumesBuilder_ = null;
             volumes_ = other.volumes_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            volumesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVolumesFieldBuilder()
-                    : null;
+            volumesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVolumesFieldBuilder() : null;
           } else {
             volumesBuilder_.addAllMessages(other.volumes_);
           }
@@ -1417,108 +1343,100 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                revision_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getScalingFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 50:
-              {
-                input.readMessage(getVpcAccessFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 50
-            case 66:
-              {
-                input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 74
-            case 82:
-              {
-                com.google.cloud.run.v2.Container m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Container.parser(), extensionRegistry);
-                if (containersBuilder_ == null) {
-                  ensureContainersIsMutable();
-                  containers_.add(m);
-                } else {
-                  containersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 82
-            case 90:
-              {
-                com.google.cloud.run.v2.Volume m =
-                    input.readMessage(com.google.cloud.run.v2.Volume.parser(), extensionRegistry);
-                if (volumesBuilder_ == null) {
-                  ensureVolumesIsMutable();
-                  volumes_.add(m);
-                } else {
-                  volumesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 90
-            case 104:
-              {
-                executionEnvironment_ = input.readEnum();
-
-                break;
-              } // case 104
-            case 114:
-              {
-                encryptionKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 114
-            case 120:
-              {
-                maxInstanceRequestConcurrency_ = input.readInt32();
-
-                break;
-              } // case 120
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              revision_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getScalingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 50: {
+              input.readMessage(
+                  getVpcAccessFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 50
+            case 66: {
+              input.readMessage(
+                  getTimeoutFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 74
+            case 82: {
+              com.google.cloud.run.v2.Container m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Container.parser(),
+                      extensionRegistry);
+              if (containersBuilder_ == null) {
+                ensureContainersIsMutable();
+                containers_.add(m);
+              } else {
+                containersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 82
+            case 90: {
+              com.google.cloud.run.v2.Volume m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Volume.parser(),
+                      extensionRegistry);
+              if (volumesBuilder_ == null) {
+                ensureVolumesIsMutable();
+                volumes_.add(m);
+              } else {
+                volumesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 90
+            case 104: {
+              executionEnvironment_ = input.readEnum();
+
+              break;
+            } // case 104
+            case 114: {
+              encryptionKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 114
+            case 120: {
+              maxInstanceRequestConcurrency_ = input.readInt32();
+
+              break;
+            } // case 120
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1528,26 +1446,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object revision_ = "";
     /**
-     *
-     *
      * 
      * The unique name for the revision. If this field is omitted, it will be
      * automatically generated based on the Service name.
      * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ public java.lang.String getRevision() { java.lang.Object ref = revision_; 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(); revision_ = s; return s; @@ -1556,22 +1471,21 @@ public java.lang.String getRevision() { } } /** - * - * *
      * The unique name for the revision. If this field is omitted, it will be
      * automatically generated based on the Service name.
      * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -1579,84 +1493,78 @@ public com.google.protobuf.ByteString getRevisionBytes() { } } /** - * - * *
      * The unique name for the revision. If this field is omitted, it will be
      * automatically generated based on the Service name.
      * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @param value The revision to set. * @return This builder for chaining. */ - public Builder setRevision(java.lang.String value) { + public Builder setRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revision_ = value; onChanged(); return this; } /** - * - * *
      * The unique name for the revision. If this field is omitted, it will be
      * automatically generated based on the Service name.
      * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearRevision() { - + revision_ = getDefaultInstance().getRevision(); onChanged(); return this; } /** - * - * *
      * The unique name for the revision. If this field is omitted, it will be
      * automatically generated based on the Service name.
      * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for revision to set. * @return This builder for chaining. */ - public Builder setRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revision_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1668,30 +1576,28 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 2; */ + @java.lang.Override - public boolean containsLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } - /** Use {@link #getLabelsMap()} instead. */ + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -1699,12 +1605,11 @@ public java.util.Map getLabels() { * map<string, string> labels = 2; */ @java.lang.Override + public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -1712,17 +1617,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override + public java.lang.String getLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style labels for the resource.
      * 
@@ -1730,11 +1634,12 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1742,82 +1647,83 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putLabels( + 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"); +} - internalGetMutableLabels().getMutableMap().put(key, value); + internalGetMutableLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style labels for the resource.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); return this; } - private com.google.protobuf.MapField annotations_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> annotations_; private com.google.protobuf.MapField - internalGetAnnotations() { + internalGetAnnotations() { if (annotations_ == null) { return com.google.protobuf.MapField.emptyMapField( AnnotationsDefaultEntryHolder.defaultEntry); } return annotations_; } - private com.google.protobuf.MapField - internalGetMutableAnnotations() { - onChanged(); - ; + internalGetMutableAnnotations() { + onChanged();; if (annotations_ == null) { - annotations_ = - com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry); + annotations_ = com.google.protobuf.MapField.newMapField( + AnnotationsDefaultEntryHolder.defaultEntry); } if (!annotations_.isMutable()) { annotations_ = annotations_.copy(); @@ -1829,30 +1735,28 @@ public int getAnnotationsCount() { return internalGetAnnotations().getMap().size(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 3; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1860,12 +1764,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 3; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1873,17 +1776,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 3; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -1891,11 +1793,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 3; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1903,107 +1806,97 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 3; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 3; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAnnotations( + 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"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 3; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); return this; } private com.google.cloud.run.v2.RevisionScaling scaling_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder> - scalingBuilder_; + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder> scalingBuilder_; /** - * - * *
      * Scaling settings for this Revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return Whether the scaling field is set. */ public boolean hasScaling() { return scalingBuilder_ != null || scaling_ != null; } /** - * - * *
      * Scaling settings for this Revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return The scaling. */ public com.google.cloud.run.v2.RevisionScaling getScaling() { if (scalingBuilder_ == null) { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } else { return scalingBuilder_.getMessage(); } } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2024,15 +1917,14 @@ public Builder setScaling(com.google.cloud.run.v2.RevisionScaling value) { return this; } /** - * - * *
      * Scaling settings for this Revision.
      * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; */ - public Builder setScaling(com.google.cloud.run.v2.RevisionScaling.Builder builderForValue) { + public Builder setScaling( + com.google.cloud.run.v2.RevisionScaling.Builder builderForValue) { if (scalingBuilder_ == null) { scaling_ = builderForValue.build(); onChanged(); @@ -2043,8 +1935,6 @@ public Builder setScaling(com.google.cloud.run.v2.RevisionScaling.Builder builde return this; } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2055,9 +1945,7 @@ public Builder mergeScaling(com.google.cloud.run.v2.RevisionScaling value) { if (scalingBuilder_ == null) { if (scaling_ != null) { scaling_ = - com.google.cloud.run.v2.RevisionScaling.newBuilder(scaling_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.RevisionScaling.newBuilder(scaling_).mergeFrom(value).buildPartial(); } else { scaling_ = value; } @@ -2069,8 +1957,6 @@ public Builder mergeScaling(com.google.cloud.run.v2.RevisionScaling value) { return this; } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2089,8 +1975,6 @@ public Builder clearScaling() { return this; } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2098,13 +1982,11 @@ public Builder clearScaling() { * .google.cloud.run.v2.RevisionScaling scaling = 4; */ public com.google.cloud.run.v2.RevisionScaling.Builder getScalingBuilder() { - + onChanged(); return getScalingFieldBuilder().getBuilder(); } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2115,14 +1997,11 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { if (scalingBuilder_ != null) { return scalingBuilder_.getMessageOrBuilder(); } else { - return scaling_ == null - ? com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() - : scaling_; + return scaling_ == null ? + com.google.cloud.run.v2.RevisionScaling.getDefaultInstance() : scaling_; } } /** - * - * *
      * Scaling settings for this Revision.
      * 
@@ -2130,17 +2009,14 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { * .google.cloud.run.v2.RevisionScaling scaling = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder> + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder> getScalingFieldBuilder() { if (scalingBuilder_ == null) { - scalingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionScaling, - com.google.cloud.run.v2.RevisionScaling.Builder, - com.google.cloud.run.v2.RevisionScalingOrBuilder>( - getScaling(), getParentForChildren(), isClean()); + scalingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.RevisionScaling, com.google.cloud.run.v2.RevisionScaling.Builder, com.google.cloud.run.v2.RevisionScalingOrBuilder>( + getScaling(), + getParentForChildren(), + isClean()); scaling_ = null; } return scalingBuilder_; @@ -2148,49 +2024,36 @@ public com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder() { private com.google.cloud.run.v2.VpcAccess vpcAccess_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder> - vpcAccessBuilder_; + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> vpcAccessBuilder_; /** - * - * *
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return Whether the vpcAccess field is set. */ public boolean hasVpcAccess() { return vpcAccessBuilder_ != null || vpcAccess_ != null; } /** - * - * *
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return The vpcAccess. */ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { if (vpcAccessBuilder_ == null) { - return vpcAccess_ == null - ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() - : vpcAccess_; + return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } else { return vpcAccessBuilder_.getMessage(); } } /** - * - * *
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2212,8 +2075,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2221,7 +2082,8 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
      *
      * .google.cloud.run.v2.VpcAccess vpc_access = 6;
      */
-    public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
+    public Builder setVpcAccess(
+        com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
       if (vpcAccessBuilder_ == null) {
         vpcAccess_ = builderForValue.build();
         onChanged();
@@ -2232,8 +2094,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2245,9 +2105,7 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       if (vpcAccessBuilder_ == null) {
         if (vpcAccess_ != null) {
           vpcAccess_ =
-              com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_).mergeFrom(value).buildPartial();
         } else {
           vpcAccess_ = value;
         }
@@ -2259,8 +2117,6 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2280,8 +2136,6 @@ public Builder clearVpcAccess() {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2290,13 +2144,11 @@ public Builder clearVpcAccess() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 6;
      */
     public com.google.cloud.run.v2.VpcAccess.Builder getVpcAccessBuilder() {
-
+      
       onChanged();
       return getVpcAccessFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2308,14 +2160,11 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
       if (vpcAccessBuilder_ != null) {
         return vpcAccessBuilder_.getMessageOrBuilder();
       } else {
-        return vpcAccess_ == null
-            ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance()
-            : vpcAccess_;
+        return vpcAccess_ == null ?
+            com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_;
       }
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Revision. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2324,17 +2173,14 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.VpcAccess,
-            com.google.cloud.run.v2.VpcAccess.Builder,
-            com.google.cloud.run.v2.VpcAccessOrBuilder>
+        com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> 
         getVpcAccessFieldBuilder() {
       if (vpcAccessBuilder_ == null) {
-        vpcAccessBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.VpcAccess,
-                com.google.cloud.run.v2.VpcAccess.Builder,
-                com.google.cloud.run.v2.VpcAccessOrBuilder>(
-                getVpcAccess(), getParentForChildren(), isClean());
+        vpcAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder>(
+                getVpcAccess(),
+                getParentForChildren(),
+                isClean());
         vpcAccess_ = null;
       }
       return vpcAccessBuilder_;
@@ -2342,33 +2188,24 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
 
     private com.google.protobuf.Duration timeout_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        timeoutBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_;
     /**
-     *
-     *
      * 
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -2379,8 +2216,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2401,15 +2236,14 @@ public Builder setTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
* * .google.protobuf.Duration timeout = 8; */ - public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setTimeout( + com.google.protobuf.Duration.Builder builderForValue) { if (timeoutBuilder_ == null) { timeout_ = builderForValue.build(); onChanged(); @@ -2420,8 +2254,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2432,7 +2264,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) { if (timeoutBuilder_ == null) { if (timeout_ != null) { timeout_ = - com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial(); } else { timeout_ = value; } @@ -2444,8 +2276,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2464,8 +2294,6 @@ public Builder clearTimeout() { return this; } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2473,13 +2301,11 @@ public Builder clearTimeout() { * .google.protobuf.Duration timeout = 8; */ public com.google.protobuf.Duration.Builder getTimeoutBuilder() { - + onChanged(); return getTimeoutFieldBuilder().getBuilder(); } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2490,12 +2316,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { if (timeoutBuilder_ != null) { return timeoutBuilder_.getMessageOrBuilder(); } else { - return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; + return timeout_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : timeout_; } } /** - * - * *
      * Max allowed time for an instance to respond to a request.
      * 
@@ -2503,17 +2328,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { * .google.protobuf.Duration timeout = 8; */ 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> getTimeoutFieldBuilder() { if (timeoutBuilder_ == null) { - timeoutBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getTimeout(), getParentForChildren(), isClean()); + timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getTimeout(), + getParentForChildren(), + isClean()); timeout_ = null; } return timeoutBuilder_; @@ -2521,8 +2343,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() { private java.lang.Object serviceAccount_ = ""; /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -2531,13 +2351,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * 
* * string service_account = 9; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2546,8 +2366,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -2556,14 +2374,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2571,8 +2390,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -2581,22 +2398,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 9; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -2605,18 +2420,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 9; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the revision of
      * the service. The service account represents the identity of the running
@@ -2625,40 +2437,34 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 9; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; } private java.util.List containers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContainersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Container, - com.google.cloud.run.v2.Container.Builder, - com.google.cloud.run.v2.ContainerOrBuilder> - containersBuilder_; + com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> containersBuilder_; /** - * - * *
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2674,8 +2480,6 @@ public java.util.List getContainersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2691,8 +2495,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2708,8 +2510,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2717,7 +2517,8 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public Builder setContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder setContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2731,8 +2532,6 @@ public Builder setContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2752,8 +2551,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2775,8 +2572,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2784,7 +2579,8 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public Builder addContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder addContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2798,8 +2594,6 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2807,7 +2601,8 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderForValue) {
+    public Builder addContainers(
+        com.google.cloud.run.v2.Container.Builder builderForValue) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
         containers_.add(builderForValue.build());
@@ -2818,8 +2613,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2839,8 +2632,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2852,7 +2643,8 @@ public Builder addAllContainers(
         java.lang.Iterable values) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, containers_);
         onChanged();
       } else {
         containersBuilder_.addAllMessages(values);
@@ -2860,8 +2652,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2880,8 +2670,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2900,8 +2688,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2909,12 +2695,11 @@ public Builder removeContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index) {
+    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(
+        int index) {
       return getContainersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2922,16 +2707,14 @@ public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+        int index) {
       if (containersBuilder_ == null) {
-        return containers_.get(index);
-      } else {
+        return containers_.get(index);  } else {
         return containersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2939,8 +2722,8 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public java.util.List
-        getContainersOrBuilderList() {
+    public java.util.List 
+         getContainersOrBuilderList() {
       if (containersBuilder_ != null) {
         return containersBuilder_.getMessageOrBuilderList();
       } else {
@@ -2948,8 +2731,6 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2958,12 +2739,10 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
     public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
-      return getContainersFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.Container.getDefaultInstance());
+      return getContainersFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2971,13 +2750,12 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index) {
-      return getContainersFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.Container.getDefaultInstance());
+    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(
+        int index) {
+      return getContainersFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * Revision.
@@ -2985,46 +2763,38 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 10;
      */
-    public java.util.List getContainersBuilderList() {
+    public java.util.List 
+         getContainersBuilderList() {
       return getContainersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Container,
-            com.google.cloud.run.v2.Container.Builder,
-            com.google.cloud.run.v2.ContainerOrBuilder>
+        com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> 
         getContainersFieldBuilder() {
       if (containersBuilder_ == null) {
-        containersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.Container,
-                com.google.cloud.run.v2.Container.Builder,
-                com.google.cloud.run.v2.ContainerOrBuilder>(
-                containers_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder>(
+                containers_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         containers_ = null;
       }
       return containersBuilder_;
     }
 
     private java.util.List volumes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVolumesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         volumes_ = new java.util.ArrayList(volumes_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Volume,
-            com.google.cloud.run.v2.Volume.Builder,
-            com.google.cloud.run.v2.VolumeOrBuilder>
-        volumesBuilder_;
+        com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> volumesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of Volumes to make available to containers.
      * 
@@ -3039,8 +2809,6 @@ public java.util.List getVolumesList() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3055,8 +2823,6 @@ public int getVolumesCount() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3071,15 +2837,14 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3093,15 +2858,14 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.set(index, builderForValue.build()); @@ -3112,8 +2876,6 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3134,15 +2896,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3156,15 +2917,14 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(builderForValue.build()); @@ -3175,15 +2935,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(index, builderForValue.build()); @@ -3194,8 +2953,6 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3206,7 +2963,8 @@ public Builder addAllVolumes( java.lang.Iterable values) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, volumes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, volumes_); onChanged(); } else { volumesBuilder_.addAllMessages(values); @@ -3214,8 +2972,6 @@ public Builder addAllVolumes( return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3233,8 +2989,6 @@ public Builder clearVolumes() { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3252,44 +3006,39 @@ public Builder removeVolumes(int index) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder(int index) { + public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder( + int index) { return getVolumesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { if (volumesBuilder_ == null) { - return volumes_.get(index); - } else { + return volumes_.get(index); } else { return volumesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public java.util.List - getVolumesOrBuilderList() { + public java.util.List + getVolumesOrBuilderList() { if (volumesBuilder_ != null) { return volumesBuilder_.getMessageOrBuilderList(); } else { @@ -3297,8 +3046,6 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -3306,47 +3053,42 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { * repeated .google.cloud.run.v2.Volume volumes = 11; */ public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder() { - return getVolumesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Volume.getDefaultInstance()); + return getVolumesFieldBuilder().addBuilder( + com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder(int index) { - return getVolumesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Volume.getDefaultInstance()); + public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder( + int index) { + return getVolumesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - public java.util.List getVolumesBuilderList() { + public java.util.List + getVolumesBuilderList() { return getVolumesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder> + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> getVolumesFieldBuilder() { if (volumesBuilder_ == null) { - volumesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder>( - volumes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + volumesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder>( + volumes_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); volumes_ = null; } return volumesBuilder_; @@ -3354,65 +3096,51 @@ public java.util.List getVolumesBuilderL private int executionEnvironment_ = 0; /** - * - * *
      * The sandbox environment to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
      * The sandbox environment to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @param value The enum numeric value on the wire for executionEnvironment to set. * @return This builder for chaining. */ public Builder setExecutionEnvironmentValue(int value) { - + executionEnvironment_ = value; onChanged(); return this; } /** - * - * *
      * The sandbox environment to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The executionEnvironment. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } /** - * - * *
      * The sandbox environment to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @param value The executionEnvironment to set. * @return This builder for chaining. */ @@ -3420,24 +3148,21 @@ public Builder setExecutionEnvironment(com.google.cloud.run.v2.ExecutionEnvironm if (value == null) { throw new NullPointerException(); } - + executionEnvironment_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The sandbox environment to host this Revision.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return This builder for chaining. */ public Builder clearExecutionEnvironment() { - + executionEnvironment_ = 0; onChanged(); return this; @@ -3445,8 +3170,6 @@ public Builder clearExecutionEnvironment() { private java.lang.Object encryptionKey_ = ""; /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -3454,13 +3177,13 @@ public Builder clearExecutionEnvironment() {
      * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ public java.lang.String getEncryptionKey() { java.lang.Object ref = encryptionKey_; 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(); encryptionKey_ = s; return s; @@ -3469,8 +3192,6 @@ public java.lang.String getEncryptionKey() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -3478,14 +3199,15 @@ public java.lang.String getEncryptionKey() {
      * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -3493,8 +3215,6 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -3502,22 +3222,20 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() {
      * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @param value The encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKey(java.lang.String value) { + public Builder setEncryptionKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encryptionKey_ = value; onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -3525,18 +3243,15 @@ public Builder setEncryptionKey(java.lang.String value) {
      * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEncryptionKey() { - + encryptionKey_ = getDefaultInstance().getEncryptionKey(); onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -3544,31 +3259,28 @@ public Builder clearEncryptionKey() {
      * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { + public Builder setEncryptionKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encryptionKey_ = value; onChanged(); return this; } - private int maxInstanceRequestConcurrency_; + private int maxInstanceRequestConcurrency_ ; /** - * - * *
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 15; - * * @return The maxInstanceRequestConcurrency. */ @java.lang.Override @@ -3576,43 +3288,37 @@ public int getMaxInstanceRequestConcurrency() { return maxInstanceRequestConcurrency_; } /** - * - * *
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 15; - * * @param value The maxInstanceRequestConcurrency to set. * @return This builder for chaining. */ public Builder setMaxInstanceRequestConcurrency(int value) { - + maxInstanceRequestConcurrency_ = value; onChanged(); return this; } /** - * - * *
      * Sets the maximum number of requests that each serving instance can receive.
      * 
* * int32 max_instance_request_concurrency = 15; - * * @return This builder for chaining. */ public Builder clearMaxInstanceRequestConcurrency() { - + maxInstanceRequestConcurrency_ = 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); } @@ -3622,12 +3328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.RevisionTemplate) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.RevisionTemplate) private static final com.google.cloud.run.v2.RevisionTemplate DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.RevisionTemplate(); } @@ -3636,27 +3342,27 @@ public static com.google.cloud.run.v2.RevisionTemplate getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RevisionTemplate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RevisionTemplate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3671,4 +3377,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.RevisionTemplate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java similarity index 80% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java index 15f01a284848..ababa87c2725 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateOrBuilder.java @@ -1,58 +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/run/v2/revision_template.proto package com.google.cloud.run.v2; -public interface RevisionTemplateOrBuilder - extends +public interface RevisionTemplateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.RevisionTemplate) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name for the revision. If this field is omitted, it will be
    * automatically generated based on the Service name.
    * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ java.lang.String getRevision(); /** - * - * *
    * The unique name for the revision. If this field is omitted, it will be
    * automatically generated based on the Service name.
    * 
* * string revision = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - com.google.protobuf.ByteString getRevisionBytes(); + com.google.protobuf.ByteString + getRevisionBytes(); /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -61,31 +38,30 @@ public interface RevisionTemplateOrBuilder */ int getLabelsCount(); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 2; */ - boolean containsLabels(java.lang.String key); - /** Use {@link #getLabelsMap()} instead. */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getLabels(); + java.util.Map + getLabels(); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 2; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * KRM-style labels for the resource.
    * 
@@ -94,24 +70,22 @@ public interface RevisionTemplateOrBuilder */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style labels for the resource.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -120,31 +94,30 @@ java.lang.String getLabelsOrDefault( */ int getAnnotationsCount(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 3; */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 3; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -153,48 +126,40 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 3; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Scaling settings for this Revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return Whether the scaling field is set. */ boolean hasScaling(); /** - * - * *
    * Scaling settings for this Revision.
    * 
* * .google.cloud.run.v2.RevisionScaling scaling = 4; - * * @return The scaling. */ com.google.cloud.run.v2.RevisionScaling getScaling(); /** - * - * *
    * Scaling settings for this Revision.
    * 
@@ -204,34 +169,26 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.run.v2.RevisionScalingOrBuilder getScalingOrBuilder(); /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return Whether the vpcAccess field is set. */ boolean hasVpcAccess(); /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 6; - * * @return The vpcAccess. */ com.google.cloud.run.v2.VpcAccess getVpcAccess(); /** - * - * *
    * VPC Access configuration to use for this Revision. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -242,32 +199,24 @@ java.lang.String getAnnotationsOrDefault(
   com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder();
 
   /**
-   *
-   *
    * 
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
* * .google.protobuf.Duration timeout = 8; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * Max allowed time for an instance to respond to a request.
    * 
@@ -277,8 +226,6 @@ java.lang.String getAnnotationsOrDefault( com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder(); /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -287,13 +234,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 9; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * Email address of the IAM service account associated with the revision of
    * the service. The service account represents the identity of the running
@@ -302,14 +246,12 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 9; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -317,10 +259,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 10;
    */
-  java.util.List getContainersList();
+  java.util.List 
+      getContainersList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -330,8 +271,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   com.google.cloud.run.v2.Container getContainers(int index);
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -341,8 +280,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   int getContainersCount();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -350,10 +287,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 10;
    */
-  java.util.List getContainersOrBuilderList();
+  java.util.List 
+      getContainersOrBuilderList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * Revision.
@@ -361,21 +297,19 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 10;
    */
-  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index);
+  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - java.util.List getVolumesList(); + java.util.List + getVolumesList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -384,8 +318,6 @@ java.lang.String getAnnotationsOrDefault( */ com.google.cloud.run.v2.Volume getVolumes(int index); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -394,54 +326,44 @@ java.lang.String getAnnotationsOrDefault( */ int getVolumesCount(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - java.util.List getVolumesOrBuilderList(); + java.util.List + getVolumesOrBuilderList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 11; */ - com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index); + com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index); /** - * - * *
    * The sandbox environment to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The enum numeric value on the wire for executionEnvironment. */ int getExecutionEnvironmentValue(); /** - * - * *
    * The sandbox environment to host this Revision.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; - * * @return The executionEnvironment. */ com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -449,13 +371,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ java.lang.String getEncryptionKey(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -463,20 +382,17 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string encryption_key = 14 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - com.google.protobuf.ByteString getEncryptionKeyBytes(); + com.google.protobuf.ByteString + getEncryptionKeyBytes(); /** - * - * *
    * Sets the maximum number of requests that each serving instance can receive.
    * 
* * int32 max_instance_request_concurrency = 15; - * * @return The maxInstanceRequestConcurrency. */ int getMaxInstanceRequestConcurrency(); diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java new file mode 100644 index 000000000000..4b86c8be11c4 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RevisionTemplateProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/revision_template.proto + +package com.google.cloud.run.v2; + +public final class RevisionTemplateProto { + private RevisionTemplateProto() {} + 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_run_v2_RevisionTemplate_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_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/run/v2/revision_template." + + "proto\022\023google.cloud.run.v2\032\031google/api/r" + + "esource.proto\032!google/cloud/run/v2/k8s.m" + + "in.proto\032)google/cloud/run/v2/vendor_set" + + "tings.proto\032\036google/protobuf/duration.pr" + + "oto\"\377\005\n\020RevisionTemplate\0222\n\010revision\030\001 \001" + + "(\tB \372A\035\n\033run.googleapis.com/Revision\022A\n\006" + + "labels\030\002 \003(\01321.google.cloud.run.v2.Revis" + + "ionTemplate.LabelsEntry\022K\n\013annotations\030\003" + + " \003(\01326.google.cloud.run.v2.RevisionTempl" + + "ate.AnnotationsEntry\0225\n\007scaling\030\004 \001(\0132$." + + "google.cloud.run.v2.RevisionScaling\0222\n\nv" + + "pc_access\030\006 \001(\0132\036.google.cloud.run.v2.Vp" + + "cAccess\022*\n\007timeout\030\010 \001(\0132\031.google.protob" + + "uf.Duration\022\027\n\017service_account\030\t \001(\t\0222\n\n" + + "containers\030\n \003(\0132\036.google.cloud.run.v2.C" + + "ontainer\022,\n\007volumes\030\013 \003(\0132\033.google.cloud" + + ".run.v2.Volume\022H\n\025execution_environment\030" + + "\r \001(\0162).google.cloud.run.v2.ExecutionEnv" + + "ironment\022>\n\016encryption_key\030\016 \001(\tB&\372A#\n!c" + + "loudkms.googleapis.com/CryptoKey\022(\n max_" + + "instance_request_concurrency\030\017 \001(\005\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001Bj\n\027com.google.cloud.run.v2" + + "B\025RevisionTemplateProtoP\001Z6google.golang" + + ".org/genproto/googleapis/cloud/run/v2;ru" + + "nb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.run.v2.K8sMinProto.getDescriptor(), + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_RevisionTemplate_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_RevisionTemplate_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_RevisionTemplate_descriptor, + new java.lang.String[] { "Revision", "Labels", "Annotations", "Scaling", "VpcAccess", "Timeout", "ServiceAccount", "Containers", "Volumes", "ExecutionEnvironment", "EncryptionKey", "MaxInstanceRequestConcurrency", }); + internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_RevisionTemplate_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_RevisionTemplate_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_RevisionTemplate_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.cloud.run.v2.K8sMinProto.getDescriptor(); + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java index e186e174b517..f548bf4b047e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequest.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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message to create a new Execution of a Job.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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_ = ""; etag_ = ""; @@ -44,44 +26,39 @@ private RunJobRequest() { @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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_RunJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_RunJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.RunJobRequest.class, - com.google.cloud.run.v2.RunJobRequest.Builder.class); + com.google.cloud.run.v2.RunJobRequest.class, com.google.cloud.run.v2.RunJobRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 @@ -90,32 +67,31 @@ 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 full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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 { @@ -126,15 +102,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 2; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -145,15 +118,12 @@ public boolean getValidateOnly() { public static final int ETAG_FIELD_NUMBER = 3; private volatile java.lang.Object etag_; /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ @java.lang.Override @@ -162,30 +132,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -194,7 +164,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,7 +175,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_); } @@ -229,7 +199,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, validateOnly_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, etag_); @@ -242,16 +213,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.run.v2.RunJobRequest)) { return super.equals(obj); } com.google.cloud.run.v2.RunJobRequest other = (com.google.cloud.run.v2.RunJobRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getValidateOnly() != other.getValidateOnly()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,7 +240,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -274,135 +249,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.RunJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.RunJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.RunJobRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.RunJobRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.RunJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.RunJobRequest 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.run.v2.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.run.v2.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.run.v2.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.run.v2.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 to create a new Execution of a Job.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.RunJobRequest) com.google.cloud.run.v2.RunJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_RunJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_RunJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_RunJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.RunJobRequest.class, - com.google.cloud.run.v2.RunJobRequest.Builder.class); + com.google.cloud.run.v2.RunJobRequest.class, com.google.cloud.run.v2.RunJobRequest.Builder.class); } // Construct using com.google.cloud.run.v2.RunJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -416,9 +386,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_RunJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_RunJobRequest_descriptor; } @java.lang.Override @@ -437,8 +407,7 @@ public com.google.cloud.run.v2.RunJobRequest build() { @java.lang.Override public com.google.cloud.run.v2.RunJobRequest buildPartial() { - com.google.cloud.run.v2.RunJobRequest result = - new com.google.cloud.run.v2.RunJobRequest(this); + com.google.cloud.run.v2.RunJobRequest result = new com.google.cloud.run.v2.RunJobRequest(this); result.name_ = name_; result.validateOnly_ = validateOnly_; result.etag_ = etag_; @@ -450,39 +419,38 @@ public com.google.cloud.run.v2.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.run.v2.RunJobRequest) { - return mergeFrom((com.google.cloud.run.v2.RunJobRequest) other); + return mergeFrom((com.google.cloud.run.v2.RunJobRequest)other); } else { super.mergeFrom(other); return this; @@ -528,31 +496,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - validateOnly_ = input.readBool(); - - break; - } // case 16 - case 26: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + validateOnly_ = input.readBool(); + + break; + } // case 16 + case 26: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -565,23 +529,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; @@ -590,24 +551,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 { @@ -615,86 +574,73 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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 full name of the Job.
-     * Format: projects/{project}/locations/{location}/jobs/{job}
+     * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+     * can be project id or number.
      * 
* - * - * 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; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return The validateOnly. */ @java.lang.Override @@ -702,38 +648,32 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated without actually
      * deleting any resources.
      * 
* * bool validate_only = 2; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; @@ -741,21 +681,19 @@ public Builder clearValidateOnly() { private java.lang.Object etag_ = ""; /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -764,22 +702,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -787,71 +724,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 3; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -861,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.RunJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.RunJobRequest) private static final com.google.cloud.run.v2.RunJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.RunJobRequest(); } @@ -875,27 +805,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -910,4 +840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.RunJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java similarity index 51% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java index 3bd6518e5f1c..fc16392de8ed 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/RunJobRequestOrBuilder.java @@ -1,97 +1,66 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; -public interface RunJobRequestOrBuilder - extends +public interface RunJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.RunJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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.String getName(); /** - * - * *
    * Required. The full name of the Job.
-   * Format: projects/{project}/locations/{location}/jobs/{job}
+   * Format: projects/{project}/locations/{location}/jobs/{job}, where {project}
+   * can be project id or number.
    * 
* - * - * 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. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Indicates that the request should be validated without actually
    * deleting any resources.
    * 
* * bool validate_only = 2; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 3; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java similarity index 64% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java index ce3275006334..2d6eada86101 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelector.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * SecretEnvVarSource represents a source for the value of an EnvVar.
  * 
* * Protobuf type {@code google.cloud.run.v2.SecretKeySelector} */ -public final class SecretKeySelector extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SecretKeySelector extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.SecretKeySelector) SecretKeySelectorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SecretKeySelector.newBuilder() to construct. private SecretKeySelector(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SecretKeySelector() { secret_ = ""; version_ = ""; @@ -44,35 +26,32 @@ private SecretKeySelector() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SecretKeySelector(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.SecretKeySelector.class, - com.google.cloud.run.v2.SecretKeySelector.Builder.class); + com.google.cloud.run.v2.SecretKeySelector.class, com.google.cloud.run.v2.SecretKeySelector.Builder.class); } public static final int SECRET_FIELD_NUMBER = 1; private volatile java.lang.Object secret_; /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret_name} if the secret is in the same project.
@@ -80,10 +59,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * in a different project.
    * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The secret. */ @java.lang.Override @@ -92,15 +68,14 @@ public java.lang.String getSecret() { 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(); secret_ = s; return s; } } /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret_name} if the secret is in the same project.
@@ -108,18 +83,17 @@ public java.lang.String getSecret() {
    * in a different project.
    * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for secret. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretBytes() { + public com.google.protobuf.ByteString + getSecretBytes() { java.lang.Object ref = secret_; 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); secret_ = b; return b; } else { @@ -130,15 +104,13 @@ public com.google.protobuf.ByteString getSecretBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @return The version. */ @java.lang.Override @@ -147,30 +119,31 @@ 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; } } /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @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 { @@ -179,7 +152,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,7 +163,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(secret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secret_); } @@ -221,16 +194,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.run.v2.SecretKeySelector)) { return super.equals(obj); } - com.google.cloud.run.v2.SecretKeySelector other = - (com.google.cloud.run.v2.SecretKeySelector) obj; + com.google.cloud.run.v2.SecretKeySelector other = (com.google.cloud.run.v2.SecretKeySelector) obj; - if (!getSecret().equals(other.getSecret())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getSecret() + .equals(other.getSecret())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -251,136 +225,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.SecretKeySelector parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.SecretKeySelector parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.SecretKeySelector parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector 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; } /** - * - * *
    * SecretEnvVarSource represents a source for the value of an EnvVar.
    * 
* * Protobuf type {@code google.cloud.run.v2.SecretKeySelector} */ - 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.run.v2.SecretKeySelector) com.google.cloud.run.v2.SecretKeySelectorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretKeySelector_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.SecretKeySelector.class, - com.google.cloud.run.v2.SecretKeySelector.Builder.class); + com.google.cloud.run.v2.SecretKeySelector.class, com.google.cloud.run.v2.SecretKeySelector.Builder.class); } // Construct using com.google.cloud.run.v2.SecretKeySelector.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretKeySelector_descriptor; } @java.lang.Override @@ -413,8 +381,7 @@ public com.google.cloud.run.v2.SecretKeySelector build() { @java.lang.Override public com.google.cloud.run.v2.SecretKeySelector buildPartial() { - com.google.cloud.run.v2.SecretKeySelector result = - new com.google.cloud.run.v2.SecretKeySelector(this); + com.google.cloud.run.v2.SecretKeySelector result = new com.google.cloud.run.v2.SecretKeySelector(this); result.secret_ = secret_; result.version_ = version_; onBuilt(); @@ -425,39 +392,38 @@ public com.google.cloud.run.v2.SecretKeySelector 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.run.v2.SecretKeySelector) { - return mergeFrom((com.google.cloud.run.v2.SecretKeySelector) other); + return mergeFrom((com.google.cloud.run.v2.SecretKeySelector)other); } else { super.mergeFrom(other); return this; @@ -500,25 +466,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - secret_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - version_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + secret_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + version_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -531,8 +494,6 @@ public Builder mergeFrom( private java.lang.Object secret_ = ""; /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret_name} if the secret is in the same project.
@@ -540,16 +501,14 @@ public Builder mergeFrom(
      * in a different project.
      * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The secret. */ public java.lang.String getSecret() { java.lang.Object ref = secret_; 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(); secret_ = s; return s; @@ -558,8 +517,6 @@ public java.lang.String getSecret() { } } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret_name} if the secret is in the same project.
@@ -567,17 +524,16 @@ public java.lang.String getSecret() {
      * in a different project.
      * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for secret. */ - public com.google.protobuf.ByteString getSecretBytes() { + public com.google.protobuf.ByteString + getSecretBytes() { java.lang.Object ref = secret_; 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); secret_ = b; return b; } else { @@ -585,8 +541,6 @@ public com.google.protobuf.ByteString getSecretBytes() { } } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret_name} if the secret is in the same project.
@@ -594,25 +548,21 @@ public com.google.protobuf.ByteString getSecretBytes() {
      * in a different project.
      * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The secret to set. * @return This builder for chaining. */ - public Builder setSecret(java.lang.String value) { + public Builder setSecret( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secret_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret_name} if the secret is in the same project.
@@ -620,21 +570,16 @@ public Builder setSecret(java.lang.String value) {
      * in a different project.
      * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSecret() { - + secret_ = getDefaultInstance().getSecret(); onChanged(); return this; } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret_name} if the secret is in the same project.
@@ -642,19 +587,17 @@ public Builder clearSecret() {
      * in a different project.
      * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for secret to set. * @return This builder for chaining. */ - public Builder setSecretBytes(com.google.protobuf.ByteString value) { + public Builder setSecretBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; onChanged(); return this; @@ -662,21 +605,20 @@ public Builder setSecretBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @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; @@ -685,22 +627,22 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @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 { @@ -708,71 +650,67 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @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; } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest version, an integer for a specific version,
+     * or a version alias.
      * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @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; } - @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); } @@ -782,12 +720,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.SecretKeySelector) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.SecretKeySelector) private static final com.google.cloud.run.v2.SecretKeySelector DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.SecretKeySelector(); } @@ -796,27 +734,27 @@ public static com.google.cloud.run.v2.SecretKeySelector getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecretKeySelector parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecretKeySelector parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -831,4 +769,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.SecretKeySelector getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java similarity index 51% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java index fa3ba53dcb18..a15a69abab83 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretKeySelectorOrBuilder.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface SecretKeySelectorOrBuilder - extends +public interface SecretKeySelectorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.SecretKeySelector) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret_name} if the secret is in the same project.
@@ -33,16 +15,11 @@ public interface SecretKeySelectorOrBuilder
    * in a different project.
    * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The secret. */ java.lang.String getSecret(); /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret_name} if the secret is in the same project.
@@ -50,38 +27,33 @@ public interface SecretKeySelectorOrBuilder
    * in a different project.
    * 
* - * - * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string secret = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for secret. */ - com.google.protobuf.ByteString getSecretBytes(); + com.google.protobuf.ByteString + getSecretBytes(); /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest version, an integer for a specific version,
+   * or a version alias.
    * 
* * string version = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java similarity index 79% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java index 0040d636d878..c634677aa12e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSource.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * The secret's value will be presented as the content of a file whose
  * name is defined in the item path. If no items are defined, the name of
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.SecretVolumeSource}
  */
-public final class SecretVolumeSource extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SecretVolumeSource extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.SecretVolumeSource)
     SecretVolumeSourceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SecretVolumeSource.newBuilder() to construct.
   private SecretVolumeSource(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SecretVolumeSource() {
     secret_ = "";
     items_ = java.util.Collections.emptyList();
@@ -46,35 +28,32 @@ private SecretVolumeSource() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SecretVolumeSource();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.SecretVolumeSource.class,
-            com.google.cloud.run.v2.SecretVolumeSource.Builder.class);
+            com.google.cloud.run.v2.SecretVolumeSource.class, com.google.cloud.run.v2.SecretVolumeSource.Builder.class);
   }
 
   public static final int SECRET_FIELD_NUMBER = 1;
   private volatile java.lang.Object secret_;
   /**
-   *
-   *
    * 
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret} if the secret is in the same project.
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secret. */ @java.lang.Override @@ -92,15 +70,14 @@ public java.lang.String getSecret() { 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(); secret_ = s; return s; } } /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret} if the secret is in the same project.
@@ -109,15 +86,16 @@ public java.lang.String getSecret() {
    * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secret. */ @java.lang.Override - public com.google.protobuf.ByteString getSecretBytes() { + public com.google.protobuf.ByteString + getSecretBytes() { java.lang.Object ref = secret_; 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); secret_ = b; return b; } else { @@ -128,8 +106,6 @@ public com.google.protobuf.ByteString getSecretBytes() { public static final int ITEMS_FIELD_NUMBER = 2; private java.util.List items_; /** - * - * *
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -145,8 +121,6 @@ public java.util.List getItemsList() {
     return items_;
   }
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -158,13 +132,11 @@ public java.util.List getItemsList() {
    * repeated .google.cloud.run.v2.VersionToPath items = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getItemsOrBuilderList() {
     return items_;
   }
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -180,8 +152,6 @@ public int getItemsCount() {
     return items_.size();
   }
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -197,8 +167,6 @@ public com.google.cloud.run.v2.VersionToPath getItems(int index) {
     return items_.get(index);
   }
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -210,15 +178,14 @@ public com.google.cloud.run.v2.VersionToPath getItems(int index) {
    * repeated .google.cloud.run.v2.VersionToPath items = 2;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int index) {
+  public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(
+      int index) {
     return items_.get(index);
   }
 
   public static final int DEFAULT_MODE_FIELD_NUMBER = 3;
   private int defaultMode_;
   /**
-   *
-   *
    * 
    * Integer representation of mode bits to use on created files by default.
    * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
@@ -238,7 +205,6 @@ public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int inde
    * 
* * int32 default_mode = 3; - * * @return The defaultMode. */ @java.lang.Override @@ -247,7 +213,6 @@ public int getDefaultMode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,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(secret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, secret_); } @@ -282,10 +248,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, secret_); } for (int i = 0; i < items_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, items_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, items_.get(i)); } if (defaultMode_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, defaultMode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, defaultMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -295,17 +263,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.run.v2.SecretVolumeSource)) { return super.equals(obj); } - com.google.cloud.run.v2.SecretVolumeSource other = - (com.google.cloud.run.v2.SecretVolumeSource) obj; - - if (!getSecret().equals(other.getSecret())) return false; - if (!getItemsList().equals(other.getItemsList())) return false; - if (getDefaultMode() != other.getDefaultMode()) return false; + com.google.cloud.run.v2.SecretVolumeSource other = (com.google.cloud.run.v2.SecretVolumeSource) obj; + + if (!getSecret() + .equals(other.getSecret())) return false; + if (!getItemsList() + .equals(other.getItemsList())) return false; + if (getDefaultMode() + != other.getDefaultMode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -330,104 +300,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.SecretVolumeSource parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.SecretVolumeSource parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.SecretVolumeSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource 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; } /** - * - * *
    * The secret's value will be presented as the content of a file whose
    * name is defined in the item path. If no items are defined, the name of
@@ -436,32 +399,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.SecretVolumeSource}
    */
-  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.run.v2.SecretVolumeSource)
       com.google.cloud.run.v2.SecretVolumeSourceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretVolumeSource_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.SecretVolumeSource.class,
-              com.google.cloud.run.v2.SecretVolumeSource.Builder.class);
+              com.google.cloud.run.v2.SecretVolumeSource.class, com.google.cloud.run.v2.SecretVolumeSource.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.SecretVolumeSource.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -480,9 +444,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_SecretVolumeSource_descriptor;
     }
 
     @java.lang.Override
@@ -501,8 +465,7 @@ public com.google.cloud.run.v2.SecretVolumeSource build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.SecretVolumeSource buildPartial() {
-      com.google.cloud.run.v2.SecretVolumeSource result =
-          new com.google.cloud.run.v2.SecretVolumeSource(this);
+      com.google.cloud.run.v2.SecretVolumeSource result = new com.google.cloud.run.v2.SecretVolumeSource(this);
       int from_bitField0_ = bitField0_;
       result.secret_ = secret_;
       if (itemsBuilder_ == null) {
@@ -523,39 +486,38 @@ public com.google.cloud.run.v2.SecretVolumeSource 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.run.v2.SecretVolumeSource) {
-        return mergeFrom((com.google.cloud.run.v2.SecretVolumeSource) other);
+        return mergeFrom((com.google.cloud.run.v2.SecretVolumeSource)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -586,10 +548,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.SecretVolumeSource other) {
             itemsBuilder_ = null;
             items_ = other.items_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            itemsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getItemsFieldBuilder()
-                    : null;
+            itemsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getItemsFieldBuilder() : null;
           } else {
             itemsBuilder_.addAllMessages(other.items_);
           }
@@ -624,38 +585,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                secret_ = input.readStringRequireUtf8();
+            case 10: {
+              secret_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.run.v2.VersionToPath m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.VersionToPath.parser(), extensionRegistry);
-                if (itemsBuilder_ == null) {
-                  ensureItemsIsMutable();
-                  items_.add(m);
-                } else {
-                  itemsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                defaultMode_ = input.readInt32();
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.run.v2.VersionToPath m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.VersionToPath.parser(),
+                      extensionRegistry);
+              if (itemsBuilder_ == null) {
+                ensureItemsIsMutable();
+                items_.add(m);
+              } else {
+                itemsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              defaultMode_ = input.readInt32();
 
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -665,13 +623,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object secret_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret} if the secret is in the same project.
@@ -680,13 +635,13 @@ public Builder mergeFrom(
      * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secret. */ public java.lang.String getSecret() { java.lang.Object ref = secret_; 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(); secret_ = s; return s; @@ -695,8 +650,6 @@ public java.lang.String getSecret() { } } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret} if the secret is in the same project.
@@ -705,14 +658,15 @@ public java.lang.String getSecret() {
      * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secret. */ - public com.google.protobuf.ByteString getSecretBytes() { + public com.google.protobuf.ByteString + getSecretBytes() { java.lang.Object ref = secret_; 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); secret_ = b; return b; } else { @@ -720,8 +674,6 @@ public com.google.protobuf.ByteString getSecretBytes() { } } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret} if the secret is in the same project.
@@ -730,22 +682,20 @@ public com.google.protobuf.ByteString getSecretBytes() {
      * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The secret to set. * @return This builder for chaining. */ - public Builder setSecret(java.lang.String value) { + public Builder setSecret( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + secret_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret} if the secret is in the same project.
@@ -754,18 +704,15 @@ public Builder setSecret(java.lang.String value) {
      * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSecret() { - + secret_ = getDefaultInstance().getSecret(); onChanged(); return this; } /** - * - * *
      * Required. The name of the secret in Cloud Secret Manager.
      * Format: {secret} if the secret is in the same project.
@@ -774,40 +721,34 @@ public Builder clearSecret() {
      * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for secret to set. * @return This builder for chaining. */ - public Builder setSecretBytes(com.google.protobuf.ByteString value) { + public Builder setSecretBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + secret_ = value; onChanged(); return this; } private java.util.List items_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.VersionToPath, - com.google.cloud.run.v2.VersionToPath.Builder, - com.google.cloud.run.v2.VersionToPathOrBuilder> - itemsBuilder_; + com.google.cloud.run.v2.VersionToPath, com.google.cloud.run.v2.VersionToPath.Builder, com.google.cloud.run.v2.VersionToPathOrBuilder> itemsBuilder_; /** - * - * *
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -826,8 +767,6 @@ public java.util.List getItemsList() {
       }
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -846,8 +785,6 @@ public int getItemsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -866,8 +803,6 @@ public com.google.cloud.run.v2.VersionToPath getItems(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -878,7 +813,8 @@ public com.google.cloud.run.v2.VersionToPath getItems(int index) {
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public Builder setItems(int index, com.google.cloud.run.v2.VersionToPath value) {
+    public Builder setItems(
+        int index, com.google.cloud.run.v2.VersionToPath value) {
       if (itemsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -892,8 +828,6 @@ public Builder setItems(int index, com.google.cloud.run.v2.VersionToPath value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -916,8 +850,6 @@ public Builder setItems(
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -942,8 +874,6 @@ public Builder addItems(com.google.cloud.run.v2.VersionToPath value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -954,7 +884,8 @@ public Builder addItems(com.google.cloud.run.v2.VersionToPath value) {
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public Builder addItems(int index, com.google.cloud.run.v2.VersionToPath value) {
+    public Builder addItems(
+        int index, com.google.cloud.run.v2.VersionToPath value) {
       if (itemsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -968,8 +899,6 @@ public Builder addItems(int index, com.google.cloud.run.v2.VersionToPath value)
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -980,7 +909,8 @@ public Builder addItems(int index, com.google.cloud.run.v2.VersionToPath value)
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public Builder addItems(com.google.cloud.run.v2.VersionToPath.Builder builderForValue) {
+    public Builder addItems(
+        com.google.cloud.run.v2.VersionToPath.Builder builderForValue) {
       if (itemsBuilder_ == null) {
         ensureItemsIsMutable();
         items_.add(builderForValue.build());
@@ -991,8 +921,6 @@ public Builder addItems(com.google.cloud.run.v2.VersionToPath.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1015,8 +943,6 @@ public Builder addItems(
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1031,7 +957,8 @@ public Builder addAllItems(
         java.lang.Iterable values) {
       if (itemsBuilder_ == null) {
         ensureItemsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, items_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, items_);
         onChanged();
       } else {
         itemsBuilder_.addAllMessages(values);
@@ -1039,8 +966,6 @@ public Builder addAllItems(
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1062,8 +987,6 @@ public Builder clearItems() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1085,8 +1008,6 @@ public Builder removeItems(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1097,12 +1018,11 @@ public Builder removeItems(int index) {
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public com.google.cloud.run.v2.VersionToPath.Builder getItemsBuilder(int index) {
+    public com.google.cloud.run.v2.VersionToPath.Builder getItemsBuilder(
+        int index) {
       return getItemsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1113,16 +1033,14 @@ public com.google.cloud.run.v2.VersionToPath.Builder getItemsBuilder(int index)
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int index) {
+    public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(
+        int index) {
       if (itemsBuilder_ == null) {
-        return items_.get(index);
-      } else {
+        return items_.get(index);  } else {
         return itemsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1133,8 +1051,8 @@ public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int inde
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public java.util.List
-        getItemsOrBuilderList() {
+    public java.util.List 
+         getItemsOrBuilderList() {
       if (itemsBuilder_ != null) {
         return itemsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1142,8 +1060,6 @@ public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1155,12 +1071,10 @@ public com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int inde
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
     public com.google.cloud.run.v2.VersionToPath.Builder addItemsBuilder() {
-      return getItemsFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.VersionToPath.getDefaultInstance());
+      return getItemsFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.VersionToPath.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1171,13 +1085,12 @@ public com.google.cloud.run.v2.VersionToPath.Builder addItemsBuilder() {
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public com.google.cloud.run.v2.VersionToPath.Builder addItemsBuilder(int index) {
-      return getItemsFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.VersionToPath.getDefaultInstance());
+    public com.google.cloud.run.v2.VersionToPath.Builder addItemsBuilder(
+        int index) {
+      return getItemsFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.VersionToPath.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * If unspecified, the volume will expose a file whose name is the
      * secret, relative to VolumeMount.mount_path.
@@ -1188,31 +1101,27 @@ public com.google.cloud.run.v2.VersionToPath.Builder addItemsBuilder(int index)
      *
      * repeated .google.cloud.run.v2.VersionToPath items = 2;
      */
-    public java.util.List getItemsBuilderList() {
+    public java.util.List 
+         getItemsBuilderList() {
       return getItemsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.VersionToPath,
-            com.google.cloud.run.v2.VersionToPath.Builder,
-            com.google.cloud.run.v2.VersionToPathOrBuilder>
+        com.google.cloud.run.v2.VersionToPath, com.google.cloud.run.v2.VersionToPath.Builder, com.google.cloud.run.v2.VersionToPathOrBuilder> 
         getItemsFieldBuilder() {
       if (itemsBuilder_ == null) {
-        itemsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.VersionToPath,
-                com.google.cloud.run.v2.VersionToPath.Builder,
-                com.google.cloud.run.v2.VersionToPathOrBuilder>(
-                items_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.VersionToPath, com.google.cloud.run.v2.VersionToPath.Builder, com.google.cloud.run.v2.VersionToPathOrBuilder>(
+                items_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         items_ = null;
       }
       return itemsBuilder_;
     }
 
-    private int defaultMode_;
+    private int defaultMode_ ;
     /**
-     *
-     *
      * 
      * Integer representation of mode bits to use on created files by default.
      * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
@@ -1232,7 +1141,6 @@ public java.util.List getItemsBui
      * 
* * int32 default_mode = 3; - * * @return The defaultMode. */ @java.lang.Override @@ -1240,8 +1148,6 @@ public int getDefaultMode() { return defaultMode_; } /** - * - * *
      * Integer representation of mode bits to use on created files by default.
      * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
@@ -1261,19 +1167,16 @@ public int getDefaultMode() {
      * 
* * int32 default_mode = 3; - * * @param value The defaultMode to set. * @return This builder for chaining. */ public Builder setDefaultMode(int value) { - + defaultMode_ = value; onChanged(); return this; } /** - * - * *
      * Integer representation of mode bits to use on created files by default.
      * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
@@ -1293,18 +1196,17 @@ public Builder setDefaultMode(int value) {
      * 
* * int32 default_mode = 3; - * * @return This builder for chaining. */ public Builder clearDefaultMode() { - + defaultMode_ = 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); } @@ -1314,12 +1216,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.SecretVolumeSource) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.SecretVolumeSource) private static final com.google.cloud.run.v2.SecretVolumeSource DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.SecretVolumeSource(); } @@ -1328,27 +1230,27 @@ public static com.google.cloud.run.v2.SecretVolumeSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SecretVolumeSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecretVolumeSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1363,4 +1265,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.SecretVolumeSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java similarity index 83% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java index 26630a58b7d5..fcaab33a1590 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/SecretVolumeSourceOrBuilder.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface SecretVolumeSourceOrBuilder - extends +public interface SecretVolumeSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.SecretVolumeSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret} if the secret is in the same project.
@@ -34,13 +16,10 @@ public interface SecretVolumeSourceOrBuilder
    * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The secret. */ java.lang.String getSecret(); /** - * - * *
    * Required. The name of the secret in Cloud Secret Manager.
    * Format: {secret} if the secret is in the same project.
@@ -49,14 +28,12 @@ public interface SecretVolumeSourceOrBuilder
    * 
* * string secret = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for secret. */ - com.google.protobuf.ByteString getSecretBytes(); + com.google.protobuf.ByteString + getSecretBytes(); /** - * - * *
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -67,10 +44,9 @@ public interface SecretVolumeSourceOrBuilder
    *
    * repeated .google.cloud.run.v2.VersionToPath items = 2;
    */
-  java.util.List getItemsList();
+  java.util.List 
+      getItemsList();
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -83,8 +59,6 @@ public interface SecretVolumeSourceOrBuilder
    */
   com.google.cloud.run.v2.VersionToPath getItems(int index);
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -97,8 +71,6 @@ public interface SecretVolumeSourceOrBuilder
    */
   int getItemsCount();
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -109,10 +81,9 @@ public interface SecretVolumeSourceOrBuilder
    *
    * repeated .google.cloud.run.v2.VersionToPath items = 2;
    */
-  java.util.List getItemsOrBuilderList();
+  java.util.List 
+      getItemsOrBuilderList();
   /**
-   *
-   *
    * 
    * If unspecified, the volume will expose a file whose name is the
    * secret, relative to VolumeMount.mount_path.
@@ -123,11 +94,10 @@ public interface SecretVolumeSourceOrBuilder
    *
    * repeated .google.cloud.run.v2.VersionToPath items = 2;
    */
-  com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(int index);
+  com.google.cloud.run.v2.VersionToPathOrBuilder getItemsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Integer representation of mode bits to use on created files by default.
    * Must be a value between 0000 and 0777 (octal), defaulting to 0444.
@@ -147,7 +117,6 @@ public interface SecretVolumeSourceOrBuilder
    * 
* * int32 default_mode = 3; - * * @return The defaultMode. */ int getDefaultMode(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java similarity index 72% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java index 40788ebb49b0..1de1e0fa8e22 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Service.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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Service acts as a top-level container that manages a set of
  * configurations and revision templates which implement a network service.
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.Service}
  */
-public final class Service extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Service extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Service)
     ServiceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Service.newBuilder() to construct.
   private Service(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Service() {
     name_ = "";
     description_ = "";
@@ -62,38 +44,39 @@ private Service() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Service();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.ServiceProto
-        .internal_static_google_cloud_run_v2_Service_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_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 5:
         return internalGetLabels();
       case 6:
         return internalGetAnnotations();
       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.run.v2.ServiceProto
-        .internal_static_google_cloud_run_v2_Service_fieldAccessorTable
+    return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.cloud.run.v2.Service.class, com.google.cloud.run.v2.Service.Builder.class);
   }
@@ -101,8 +84,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The fully qualified name of this Service. In CreateServiceRequest, this
    * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -112,7 +93,6 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -121,15 +101,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; } } /** - * - * *
    * The fully qualified name of this Service. In CreateServiceRequest, this
    * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -139,15 +118,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 { @@ -158,15 +138,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
    * User-provided description of the Service. This field currently has a
    * 512-character limit.
    * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -175,30 +152,30 @@ 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; } } /** - * - * *
    * User-provided description of the Service. This field currently has a
    * 512-character limit.
    * 
* * 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 { @@ -209,15 +186,12 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int UID_FIELD_NUMBER = 3; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -226,30 +200,30 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -260,8 +234,6 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int GENERATION_FIELD_NUMBER = 4; private long generation_; /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
@@ -270,7 +242,6 @@ public com.google.protobuf.ByteString getUidBytes() {
    * 
* * int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -279,23 +250,24 @@ public long getGeneration() { } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_Service_LabelsEntry_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.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -304,8 +276,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -321,22 +291,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 5;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -353,12 +323,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -375,16 +344,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -401,11 +370,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -413,24 +383,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 6;
-
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.ServiceProto
-                .internal_static_google_cloud_run_v2_Service_AnnotationsEntry_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.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField annotations_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> annotations_;
   private com.google.protobuf.MapField
-      internalGetAnnotations() {
+  internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -439,8 +409,6 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -452,22 +420,22 @@ public int getAnnotationsCount() {
    *
    * map<string, string> annotations = 6;
    */
+
   @java.lang.Override
-  public boolean containsAnnotations(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAnnotations(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAnnotations().getMap().containsKey(key);
   }
-  /** Use {@link #getAnnotationsMap()} instead. */
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAnnotations() {
     return getAnnotationsMap();
   }
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -480,12 +448,11 @@ public java.util.Map getAnnotations() {
    * map<string, string> annotations = 6;
    */
   @java.lang.Override
+
   public java.util.Map getAnnotationsMap() {
     return internalGetAnnotations().getMap();
   }
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -498,17 +465,16 @@ public java.util.Map getAnnotationsMap() {
    * map<string, string> annotations = 6;
    */
   @java.lang.Override
+
   public java.lang.String getAnnotationsOrDefault(
-      java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -521,11 +487,12 @@ public java.lang.String getAnnotationsOrDefault(
    * map<string, string> annotations = 6;
    */
   @java.lang.Override
-  public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetAnnotations().getMap();
+
+  public java.lang.String getAnnotationsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetAnnotations().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -535,15 +502,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -551,15 +514,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -567,14 +526,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -584,15 +540,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -600,15 +552,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -616,14 +564,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -633,15 +578,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -649,15 +590,11 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -665,14 +602,11 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -682,16 +616,12 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -699,16 +629,12 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -716,15 +642,12 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -734,14 +657,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int CREATOR_FIELD_NUMBER = 11; private volatile java.lang.Object creator_; /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ @java.lang.Override @@ -750,29 +670,29 @@ public java.lang.String getCreator() { 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(); creator_ = s; return s; } } /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ @java.lang.Override - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; 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); creator_ = b; return b; } else { @@ -783,14 +703,11 @@ public com.google.protobuf.ByteString getCreatorBytes() { public static final int LAST_MODIFIER_FIELD_NUMBER = 12; private volatile java.lang.Object lastModifier_; /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ @java.lang.Override @@ -799,29 +716,29 @@ public java.lang.String getLastModifier() { 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(); lastModifier_ = s; return s; } } /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ @java.lang.Override - public com.google.protobuf.ByteString getLastModifierBytes() { + public com.google.protobuf.ByteString + getLastModifierBytes() { java.lang.Object ref = lastModifier_; 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); lastModifier_ = b; return b; } else { @@ -832,14 +749,11 @@ public com.google.protobuf.ByteString getLastModifierBytes() { public static final int CLIENT_FIELD_NUMBER = 13; private volatile java.lang.Object client_; /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 13; - * * @return The client. */ @java.lang.Override @@ -848,29 +762,29 @@ public java.lang.String getClient() { 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(); client_ = s; return s; } } /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 13; - * * @return The bytes for client. */ @java.lang.Override - public com.google.protobuf.ByteString getClientBytes() { + public com.google.protobuf.ByteString + getClientBytes() { java.lang.Object ref = client_; 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); client_ = b; return b; } else { @@ -881,14 +795,11 @@ public com.google.protobuf.ByteString getClientBytes() { public static final int CLIENT_VERSION_FIELD_NUMBER = 14; private volatile java.lang.Object clientVersion_; /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 14; - * * @return The clientVersion. */ @java.lang.Override @@ -897,29 +808,29 @@ public java.lang.String getClientVersion() { 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(); clientVersion_ = s; return s; } } /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 14; - * * @return The bytes for clientVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getClientVersionBytes() { + public com.google.protobuf.ByteString + getClientVersionBytes() { java.lang.Object ref = clientVersion_; 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); clientVersion_ = b; return b; } else { @@ -930,8 +841,6 @@ public com.google.protobuf.ByteString getClientVersionBytes() { public static final int INGRESS_FIELD_NUMBER = 15; private int ingress_; /** - * - * *
    * Provides the ingress settings for this Service. On output, returns the
    * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -939,16 +848,12 @@ public com.google.protobuf.ByteString getClientVersionBytes() {
    * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The enum numeric value on the wire for ingress. */ - @java.lang.Override - public int getIngressValue() { + @java.lang.Override public int getIngressValue() { return ingress_; } /** - * - * *
    * Provides the ingress settings for this Service. On output, returns the
    * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -956,22 +861,17 @@ public int getIngressValue() {
    * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The ingress. */ - @java.lang.Override - public com.google.cloud.run.v2.IngressTraffic getIngress() { + @java.lang.Override public com.google.cloud.run.v2.IngressTraffic getIngress() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.IngressTraffic result = - com.google.cloud.run.v2.IngressTraffic.valueOf(ingress_); + com.google.cloud.run.v2.IngressTraffic result = com.google.cloud.run.v2.IngressTraffic.valueOf(ingress_); return result == null ? com.google.cloud.run.v2.IngressTraffic.UNRECOGNIZED : result; } public static final int LAUNCH_STAGE_FIELD_NUMBER = 16; private int launchStage_; /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -980,16 +880,12 @@ public com.google.cloud.run.v2.IngressTraffic getIngress() {
    * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -998,11 +894,9 @@ public int getLaunchStageValue() {
    * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The launchStage. */ - @java.lang.Override - public com.google.api.LaunchStage getLaunchStage() { + @java.lang.Override public com.google.api.LaunchStage getLaunchStage() { @SuppressWarnings("deprecation") com.google.api.LaunchStage result = com.google.api.LaunchStage.valueOf(launchStage_); return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; @@ -1011,14 +905,11 @@ public com.google.api.LaunchStage getLaunchStage() { public static final int BINARY_AUTHORIZATION_FIELD_NUMBER = 17; private com.google.cloud.run.v2.BinaryAuthorization binaryAuthorization_; /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return Whether the binaryAuthorization field is set. */ @java.lang.Override @@ -1026,25 +917,18 @@ public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return The binaryAuthorization. */ @java.lang.Override public com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization() { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
@@ -1059,16 +943,11 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati public static final int TEMPLATE_FIELD_NUMBER = 18; private com.google.cloud.run.v2.RevisionTemplate template_; /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ @java.lang.Override @@ -1076,34 +955,23 @@ public boolean hasTemplate() { return template_ != null; } /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ @java.lang.Override public com.google.cloud.run.v2.RevisionTemplate getTemplate() { - return template_ == null - ? com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() : template_; } /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.run.v2.RevisionTemplateOrBuilder getTemplateOrBuilder() { @@ -1113,8 +981,6 @@ public com.google.cloud.run.v2.RevisionTemplateOrBuilder getTemplateOrBuilder() public static final int TRAFFIC_FIELD_NUMBER = 19; private java.util.List traffic_; /** - * - * *
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -1128,8 +994,6 @@ public java.util.List getTrafficList() {
     return traffic_;
   }
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -1139,13 +1003,11 @@ public java.util.List getTrafficList() {
    * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTrafficOrBuilderList() {
     return traffic_;
   }
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -1159,8 +1021,6 @@ public int getTrafficCount() {
     return traffic_.size();
   }
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -1174,8 +1034,6 @@ public com.google.cloud.run.v2.TrafficTarget getTraffic(int index) {
     return traffic_.get(index);
   }
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -1185,15 +1043,14 @@ public com.google.cloud.run.v2.TrafficTarget getTraffic(int index) {
    * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int index) {
+  public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(
+      int index) {
     return traffic_.get(index);
   }
 
   public static final int OBSERVED_GENERATION_FIELD_NUMBER = 30;
   private long observedGeneration_;
   /**
-   *
-   *
    * 
    * Output only. The generation of this Service currently serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
@@ -1203,7 +1060,6 @@ public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int in
    * 
* * int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -1214,8 +1070,6 @@ public long getObservedGeneration() { public static final int TERMINAL_CONDITION_FIELD_NUMBER = 31; private com.google.cloud.run.v2.Condition terminalCondition_; /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -1223,10 +1077,7 @@ public long getObservedGeneration() {
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ @java.lang.Override @@ -1234,8 +1085,6 @@ public boolean hasTerminalCondition() { return terminalCondition_ != null; } /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -1243,21 +1092,14 @@ public boolean hasTerminalCondition() {
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ @java.lang.Override public com.google.cloud.run.v2.Condition getTerminalCondition() { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -1265,9 +1107,7 @@ public com.google.cloud.run.v2.Condition getTerminalCondition() {
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder() { @@ -1277,8 +1117,6 @@ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder( public static final int CONDITIONS_FIELD_NUMBER = 32; private java.util.List conditions_; /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -1286,17 +1124,13 @@ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -1304,18 +1138,14 @@ public java.util.List getConditionsList() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -1323,17 +1153,13 @@ public java.util.List getConditionsList() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -1341,17 +1167,13 @@ public int getConditionsCount() {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.Condition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -1359,30 +1181,24 @@ public com.google.cloud.run.v2.Condition getConditions(int index) {
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int LATEST_READY_REVISION_FIELD_NUMBER = 33; private volatile java.lang.Object latestReadyRevision_; /** - * - * *
    * Output only. Name of the latest revision that is serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
    * Run.
    * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestReadyRevision. */ @java.lang.Override @@ -1391,33 +1207,31 @@ public java.lang.String getLatestReadyRevision() { 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(); latestReadyRevision_ = s; return s; } } /** - * - * *
    * Output only. Name of the latest revision that is serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
    * Run.
    * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestReadyRevision. */ @java.lang.Override - public com.google.protobuf.ByteString getLatestReadyRevisionBytes() { + public com.google.protobuf.ByteString + getLatestReadyRevisionBytes() { java.lang.Object ref = latestReadyRevision_; 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); latestReadyRevision_ = b; return b; } else { @@ -1428,17 +1242,12 @@ public com.google.protobuf.ByteString getLatestReadyRevisionBytes() { public static final int LATEST_CREATED_REVISION_FIELD_NUMBER = 34; private volatile java.lang.Object latestCreatedRevision_; /** - * - * *
    * Output only. Name of the last created revision. See comments in `reconciling` for
    * additional information on reconciliation process in Cloud Run.
    * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestCreatedRevision. */ @java.lang.Override @@ -1447,32 +1256,30 @@ public java.lang.String getLatestCreatedRevision() { 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(); latestCreatedRevision_ = s; return s; } } /** - * - * *
    * Output only. Name of the last created revision. See comments in `reconciling` for
    * additional information on reconciliation process in Cloud Run.
    * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestCreatedRevision. */ @java.lang.Override - public com.google.protobuf.ByteString getLatestCreatedRevisionBytes() { + public com.google.protobuf.ByteString + getLatestCreatedRevisionBytes() { java.lang.Object ref = latestCreatedRevision_; 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); latestCreatedRevision_ = b; return b; } else { @@ -1483,86 +1290,66 @@ public com.google.protobuf.ByteString getLatestCreatedRevisionBytes() { public static final int TRAFFIC_STATUSES_FIELD_NUMBER = 35; private java.util.List trafficStatuses_; /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getTrafficStatusesList() { return trafficStatuses_; } /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getTrafficStatusesOrBuilderList() { return trafficStatuses_; } /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getTrafficStatusesCount() { return trafficStatuses_.size(); } /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.TrafficTargetStatus getTrafficStatuses(int index) { return trafficStatuses_.get(index); } /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder( @@ -1573,14 +1360,11 @@ public com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOr public static final int URI_FIELD_NUMBER = 36; private volatile java.lang.Object uri_; /** - * - * *
    * Output only. The main URI in which this Service is serving traffic.
    * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uri. */ @java.lang.Override @@ -1589,29 +1373,29 @@ 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; } } /** - * - * *
    * Output only. The main URI in which this Service is serving traffic.
    * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -1622,8 +1406,6 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int RECONCILING_FIELD_NUMBER = 98; private boolean reconciling_; /** - * - * *
    * Output only. Returns true if the Service is currently being acted upon by the system to
    * bring it into the desired state.
@@ -1647,7 +1429,6 @@ public com.google.protobuf.ByteString getUriBytes() {
    * 
* * bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1658,15 +1439,12 @@ public boolean getReconciling() { public static final int ETAG_FIELD_NUMBER = 99; private volatile java.lang.Object etag_; /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ @java.lang.Override @@ -1675,30 +1453,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1707,7 +1485,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1719,7 +1496,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_); } @@ -1732,10 +1510,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (generation_ != 0L) { output.writeInt64(4, generation_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 6); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 6); if (createTime_ != null) { output.writeMessage(7, getCreateTime()); } @@ -1760,8 +1546,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, clientVersion_); } - if (ingress_ - != com.google.cloud.run.v2.IngressTraffic.INGRESS_TRAFFIC_UNSPECIFIED.getNumber()) { + if (ingress_ != com.google.cloud.run.v2.IngressTraffic.INGRESS_TRAFFIC_UNSPECIFIED.getNumber()) { output.writeEnum(15, ingress_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { @@ -1822,39 +1607,44 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, generation_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, generation_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, annotations__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(creator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, creator_); @@ -1868,31 +1658,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clientVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, clientVersion_); } - if (ingress_ - != com.google.cloud.run.v2.IngressTraffic.INGRESS_TRAFFIC_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, ingress_); + if (ingress_ != com.google.cloud.run.v2.IngressTraffic.INGRESS_TRAFFIC_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(15, ingress_); } if (launchStage_ != com.google.api.LaunchStage.LAUNCH_STAGE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(16, launchStage_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(16, launchStage_); } if (binaryAuthorization_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(17, getBinaryAuthorization()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getBinaryAuthorization()); } if (template_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(18, getTemplate()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, getTemplate()); } for (int i = 0; i < traffic_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(19, traffic_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(19, traffic_.get(i)); } if (observedGeneration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(30, observedGeneration_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(30, observedGeneration_); } if (terminalCondition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(31, getTerminalCondition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(31, getTerminalCondition()); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(32, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(32, conditions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(latestReadyRevision_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, latestReadyRevision_); @@ -1901,13 +1697,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(34, latestCreatedRevision_); } for (int i = 0; i < trafficStatuses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(35, trafficStatuses_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(35, trafficStatuses_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, uri_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(98, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(98, reconciling_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); @@ -1920,62 +1718,88 @@ 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.run.v2.Service)) { return super.equals(obj); } com.google.cloud.run.v2.Service other = (com.google.cloud.run.v2.Service) obj; - if (!getName().equals(other.getName())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getGeneration() != other.getGeneration()) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getGeneration() + != other.getGeneration()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; - } - if (!getCreator().equals(other.getCreator())) return false; - if (!getLastModifier().equals(other.getLastModifier())) return false; - if (!getClient().equals(other.getClient())) return false; - if (!getClientVersion().equals(other.getClientVersion())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + } + if (!getCreator() + .equals(other.getCreator())) return false; + if (!getLastModifier() + .equals(other.getLastModifier())) return false; + if (!getClient() + .equals(other.getClient())) return false; + if (!getClientVersion() + .equals(other.getClientVersion())) return false; if (ingress_ != other.ingress_) return false; if (launchStage_ != other.launchStage_) return false; if (hasBinaryAuthorization() != other.hasBinaryAuthorization()) return false; if (hasBinaryAuthorization()) { - if (!getBinaryAuthorization().equals(other.getBinaryAuthorization())) return false; + if (!getBinaryAuthorization() + .equals(other.getBinaryAuthorization())) return false; } if (hasTemplate() != other.hasTemplate()) return false; if (hasTemplate()) { - if (!getTemplate().equals(other.getTemplate())) return false; + if (!getTemplate() + .equals(other.getTemplate())) return false; } - if (!getTrafficList().equals(other.getTrafficList())) return false; - if (getObservedGeneration() != other.getObservedGeneration()) return false; + if (!getTrafficList() + .equals(other.getTrafficList())) return false; + if (getObservedGeneration() + != other.getObservedGeneration()) return false; if (hasTerminalCondition() != other.hasTerminalCondition()) return false; if (hasTerminalCondition()) { - if (!getTerminalCondition().equals(other.getTerminalCondition())) return false; - } - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (!getLatestReadyRevision().equals(other.getLatestReadyRevision())) return false; - if (!getLatestCreatedRevision().equals(other.getLatestCreatedRevision())) return false; - if (!getTrafficStatusesList().equals(other.getTrafficStatusesList())) return false; - if (!getUri().equals(other.getUri())) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getEtag().equals(other.getEtag())) return false; + if (!getTerminalCondition() + .equals(other.getTerminalCondition())) return false; + } + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (!getLatestReadyRevision() + .equals(other.getLatestReadyRevision())) return false; + if (!getLatestCreatedRevision() + .equals(other.getLatestCreatedRevision())) return false; + if (!getTrafficStatusesList() + .equals(other.getTrafficStatusesList())) return false; + if (!getUri() + .equals(other.getUri())) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1994,7 +1818,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); @@ -2044,7 +1869,8 @@ public int hashCode() { hash = (53 * hash) + getTrafficList().hashCode(); } hash = (37 * hash) + OBSERVED_GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObservedGeneration()); if (hasTerminalCondition()) { hash = (37 * hash) + TERMINAL_CONDITION_FIELD_NUMBER; hash = (53 * hash) + getTerminalCondition().hashCode(); @@ -2064,7 +1890,8 @@ public int hashCode() { hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); hash = (37 * hash) + ETAG_FIELD_NUMBER; hash = (53 * hash) + getEtag().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -2072,103 +1899,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Service parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Service parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Service 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.run.v2.Service parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Service parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Service 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.run.v2.Service parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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.run.v2.Service 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; } /** - * - * *
    * Service acts as a top-level container that manages a set of
    * configurations and revision templates which implement a network service.
@@ -2179,55 +2000,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.Service}
    */
-  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.run.v2.Service)
       com.google.cloud.run.v2.ServiceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.ServiceProto
-          .internal_static_google_cloud_run_v2_Service_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         case 6:
           return internalGetAnnotations();
         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 5:
           return internalGetMutableLabels();
         case 6:
           return internalGetMutableAnnotations();
         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.run.v2.ServiceProto
-          .internal_static_google_cloud_run_v2_Service_fieldAccessorTable
+      return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.cloud.run.v2.Service.class, com.google.cloud.run.v2.Service.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.Service.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2332,9 +2157,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.ServiceProto
-          .internal_static_google_cloud_run_v2_Service_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_Service_descriptor;
     }
 
     @java.lang.Override
@@ -2445,39 +2270,38 @@ public com.google.cloud.run.v2.Service 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.run.v2.Service) {
-        return mergeFrom((com.google.cloud.run.v2.Service) other);
+        return mergeFrom((com.google.cloud.run.v2.Service)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2501,8 +2325,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.Service other) {
       if (other.getGeneration() != 0L) {
         setGeneration(other.getGeneration());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
-      internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
+      internalGetMutableAnnotations().mergeFrom(
+          other.internalGetAnnotations());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -2561,10 +2387,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Service other) {
             trafficBuilder_ = null;
             traffic_ = other.traffic_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            trafficBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTrafficFieldBuilder()
-                    : null;
+            trafficBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTrafficFieldBuilder() : null;
           } else {
             trafficBuilder_.addAllMessages(other.traffic_);
           }
@@ -2594,10 +2419,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Service other) {
             conditionsBuilder_ = null;
             conditions_ = other.conditions_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            conditionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getConditionsFieldBuilder()
-                    : null;
+            conditionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getConditionsFieldBuilder() : null;
           } else {
             conditionsBuilder_.addAllMessages(other.conditions_);
           }
@@ -2629,10 +2453,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Service other) {
             trafficStatusesBuilder_ = null;
             trafficStatuses_ = other.trafficStatuses_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            trafficStatusesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTrafficStatusesFieldBuilder()
-                    : null;
+            trafficStatusesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTrafficStatusesFieldBuilder() : null;
           } else {
             trafficStatusesBuilder_.addAllMessages(other.trafficStatuses_);
           }
@@ -2675,214 +2498,196 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                uid_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            case 32:
-              {
-                generation_ = input.readInt64();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 42
-            case 50:
-              {
-                com.google.protobuf.MapEntry annotations__ =
-                    input.readMessage(
-                        AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableAnnotations()
-                    .getMutableMap()
-                    .put(annotations__.getKey(), annotations__.getValue());
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            case 74:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 82
-            case 90:
-              {
-                creator_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 90
-            case 98:
-              {
-                lastModifier_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 98
-            case 106:
-              {
-                client_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 106
-            case 114:
-              {
-                clientVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 114
-            case 120:
-              {
-                ingress_ = input.readEnum();
-
-                break;
-              } // case 120
-            case 128:
-              {
-                launchStage_ = input.readEnum();
-
-                break;
-              } // case 128
-            case 138:
-              {
-                input.readMessage(
-                    getBinaryAuthorizationFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 138
-            case 146:
-              {
-                input.readMessage(getTemplateFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 146
-            case 154:
-              {
-                com.google.cloud.run.v2.TrafficTarget m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.TrafficTarget.parser(), extensionRegistry);
-                if (trafficBuilder_ == null) {
-                  ensureTrafficIsMutable();
-                  traffic_.add(m);
-                } else {
-                  trafficBuilder_.addMessage(m);
-                }
-                break;
-              } // case 154
-            case 240:
-              {
-                observedGeneration_ = input.readInt64();
-
-                break;
-              } // case 240
-            case 250:
-              {
-                input.readMessage(
-                    getTerminalConditionFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 250
-            case 258:
-              {
-                com.google.cloud.run.v2.Condition m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Condition.parser(), extensionRegistry);
-                if (conditionsBuilder_ == null) {
-                  ensureConditionsIsMutable();
-                  conditions_.add(m);
-                } else {
-                  conditionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 258
-            case 266:
-              {
-                latestReadyRevision_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 266
-            case 274:
-              {
-                latestCreatedRevision_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 274
-            case 282:
-              {
-                com.google.cloud.run.v2.TrafficTargetStatus m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.TrafficTargetStatus.parser(), extensionRegistry);
-                if (trafficStatusesBuilder_ == null) {
-                  ensureTrafficStatusesIsMutable();
-                  trafficStatuses_.add(m);
-                } else {
-                  trafficStatusesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 282
-            case 290:
-              {
-                uri_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 290
-            case 784:
-              {
-                reconciling_ = input.readBool();
-
-                break;
-              } // case 784
-            case 794:
-              {
-                etag_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 794
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              description_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              uid_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 26
+            case 32: {
+              generation_ = input.readInt64();
+
+              break;
+            } // case 32
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 42
+            case 50: {
+              com.google.protobuf.MapEntry
+              annotations__ = input.readMessage(
+                  AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAnnotations().getMutableMap().put(
+                  annotations__.getKey(), annotations__.getValue());
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getUpdateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            case 74: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 82
+            case 90: {
+              creator_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 90
+            case 98: {
+              lastModifier_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 98
+            case 106: {
+              client_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 106
+            case 114: {
+              clientVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 114
+            case 120: {
+              ingress_ = input.readEnum();
+
+              break;
+            } // case 120
+            case 128: {
+              launchStage_ = input.readEnum();
+
+              break;
+            } // case 128
+            case 138: {
+              input.readMessage(
+                  getBinaryAuthorizationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 138
+            case 146: {
+              input.readMessage(
+                  getTemplateFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 146
+            case 154: {
+              com.google.cloud.run.v2.TrafficTarget m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.TrafficTarget.parser(),
+                      extensionRegistry);
+              if (trafficBuilder_ == null) {
+                ensureTrafficIsMutable();
+                traffic_.add(m);
+              } else {
+                trafficBuilder_.addMessage(m);
+              }
+              break;
+            } // case 154
+            case 240: {
+              observedGeneration_ = input.readInt64();
+
+              break;
+            } // case 240
+            case 250: {
+              input.readMessage(
+                  getTerminalConditionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 250
+            case 258: {
+              com.google.cloud.run.v2.Condition m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Condition.parser(),
+                      extensionRegistry);
+              if (conditionsBuilder_ == null) {
+                ensureConditionsIsMutable();
+                conditions_.add(m);
+              } else {
+                conditionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 258
+            case 266: {
+              latestReadyRevision_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 266
+            case 274: {
+              latestCreatedRevision_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 274
+            case 282: {
+              com.google.cloud.run.v2.TrafficTargetStatus m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.TrafficTargetStatus.parser(),
+                      extensionRegistry);
+              if (trafficStatusesBuilder_ == null) {
+                ensureTrafficStatusesIsMutable();
+                trafficStatuses_.add(m);
+              } else {
+                trafficStatusesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 282
+            case 290: {
+              uri_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 290
+            case 784: {
+              reconciling_ = input.readBool();
+
+              break;
+            } // case 784
+            case 794: {
+              etag_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 794
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2892,13 +2697,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The fully qualified name of this Service. In CreateServiceRequest, this
      * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -2908,13 +2710,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -2923,8 +2725,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The fully qualified name of this Service. In CreateServiceRequest, this
      * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -2934,14 +2734,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 { @@ -2949,8 +2750,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The fully qualified name of this Service. In CreateServiceRequest, this
      * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -2960,22 +2759,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; } /** - * - * *
      * The fully qualified name of this Service. In CreateServiceRequest, this
      * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -2985,18 +2782,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; } /** - * - * *
      * The fully qualified name of this Service. In CreateServiceRequest, this
      * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -3006,16 +2800,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; @@ -3023,21 +2817,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * User-provided description of the Service. This field currently has a
      * 512-character limit.
      * 
* * 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; @@ -3046,22 +2838,21 @@ public java.lang.String getDescription() { } } /** - * - * *
      * User-provided description of the Service. This field currently has a
      * 512-character limit.
      * 
* * 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 { @@ -3069,64 +2860,57 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * User-provided description of the Service. This field currently has a
      * 512-character limit.
      * 
* * 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; } /** - * - * *
      * User-provided description of the Service. This field currently has a
      * 512-character limit.
      * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * User-provided description of the Service. This field currently has a
      * 512-character limit.
      * 
* * 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; @@ -3134,21 +2918,19 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -3157,22 +2939,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -3180,73 +2961,64 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
@@ -3255,7 +3027,6 @@ public Builder setUidBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -3263,8 +3034,6 @@ public long getGeneration() { return generation_; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
@@ -3273,19 +3042,16 @@ public long getGeneration() {
      * 
* * int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
@@ -3294,31 +3060,31 @@ public Builder setGeneration(long value) {
      * 
* * int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3330,8 +3096,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3347,22 +3111,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 5;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3379,12 +3143,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3401,17 +3164,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3428,11 +3190,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3440,12 +3203,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3461,21 +3223,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3491,20 +3255,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        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");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Map of string keys and values that can be used to organize and categorize
      * objects.
@@ -3520,29 +3283,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField annotations_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> annotations_;
     private com.google.protobuf.MapField
-        internalGetAnnotations() {
+    internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAnnotations() {
-      onChanged();
-      ;
+    internalGetMutableAnnotations() {
+      onChanged();;
       if (annotations_ == null) {
-        annotations_ =
-            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ = com.google.protobuf.MapField.newMapField(
+            AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -3554,8 +3318,6 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3567,22 +3329,22 @@ public int getAnnotationsCount() {
      *
      * map<string, string> annotations = 6;
      */
+
     @java.lang.Override
-    public boolean containsAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAnnotations().getMap().containsKey(key);
     }
-    /** Use {@link #getAnnotationsMap()} instead. */
+    /**
+     * Use {@link #getAnnotationsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAnnotations() {
       return getAnnotationsMap();
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3595,12 +3357,11 @@ public java.util.Map getAnnotations() {
      * map<string, string> annotations = 6;
      */
     @java.lang.Override
+
     public java.util.Map getAnnotationsMap() {
       return internalGetAnnotations().getMap();
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3613,17 +3374,16 @@ public java.util.Map getAnnotationsMap() {
      * map<string, string> annotations = 6;
      */
     @java.lang.Override
+
     public java.lang.String getAnnotationsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3636,11 +3396,12 @@ public java.lang.String getAnnotationsOrDefault(
      * map<string, string> annotations = 6;
      */
     @java.lang.Override
-    public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetAnnotations().getMap();
+
+    public java.lang.String getAnnotationsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetAnnotations().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3648,12 +3409,11 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) {
     }
 
     public Builder clearAnnotations() {
-      internalGetMutableAnnotations().getMutableMap().clear();
+      internalGetMutableAnnotations().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3665,21 +3425,23 @@ public Builder clearAnnotations() {
      *
      * map<string, string> annotations = 6;
      */
-    public Builder removeAnnotations(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAnnotations().getMutableMap().remove(key);
+
+    public Builder removeAnnotations(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAnnotations().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableAnnotations() {
+    public java.util.Map
+    getMutableAnnotations() {
       return internalGetMutableAnnotations().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3691,20 +3453,19 @@ public java.util.Map getMutableAnnotations()
      *
      * map<string, string> annotations = 6;
      */
-    public Builder putAnnotations(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putAnnotations(
+        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");
+}
 
-      internalGetMutableAnnotations().getMutableMap().put(key, value);
+      internalGetMutableAnnotations().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Unstructured key value map that may be set by external tools to store and
      * arbitrary metadata. They are not queryable and should be preserved
@@ -3716,65 +3477,49 @@ public Builder putAnnotations(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> annotations = 6;
      */
-    public Builder putAllAnnotations(java.util.Map values) {
-      internalGetMutableAnnotations().getMutableMap().putAll(values);
+
+    public Builder putAllAnnotations(
+        java.util.Map values) {
+      internalGetMutableAnnotations().getMutableMap()
+          .putAll(values);
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3790,17 +3535,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3811,21 +3553,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3837,15 +3575,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3859,64 +3593,48 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The creation time.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3924,58 +3642,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3991,17 +3690,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4012,21 +3708,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4038,15 +3730,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4060,64 +3748,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4125,58 +3797,39 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -4192,17 +3845,14 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -4213,21 +3863,17 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -4239,15 +3885,11 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -4261,64 +3903,48 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - + onChanged(); return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. The deletion time.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -4326,61 +3952,42 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -4396,18 +4003,15 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -4418,22 +4022,18 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -4445,16 +4045,12 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -4468,67 +4064,51 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -4536,20 +4116,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object creator_ = ""; /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ public java.lang.String getCreator() { java.lang.Object ref = creator_; 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(); creator_ = s; return s; @@ -4558,21 +4136,20 @@ public java.lang.String getCreator() { } } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - public com.google.protobuf.ByteString getCreatorBytes() { + public com.google.protobuf.ByteString + getCreatorBytes() { java.lang.Object ref = creator_; 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); creator_ = b; return b; } else { @@ -4580,61 +4157,54 @@ public com.google.protobuf.ByteString getCreatorBytes() { } } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The creator to set. * @return This builder for chaining. */ - public Builder setCreator(java.lang.String value) { + public Builder setCreator( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + creator_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearCreator() { - + creator_ = getDefaultInstance().getCreator(); onChanged(); return this; } /** - * - * *
      * Output only. Email address of the authenticated creator.
      * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for creator to set. * @return This builder for chaining. */ - public Builder setCreatorBytes(com.google.protobuf.ByteString value) { + public Builder setCreatorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + creator_ = value; onChanged(); return this; @@ -4642,20 +4212,18 @@ public Builder setCreatorBytes(com.google.protobuf.ByteString value) { private java.lang.Object lastModifier_ = ""; /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ public java.lang.String getLastModifier() { java.lang.Object ref = lastModifier_; 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(); lastModifier_ = s; return s; @@ -4664,21 +4232,20 @@ public java.lang.String getLastModifier() { } } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ - public com.google.protobuf.ByteString getLastModifierBytes() { + public com.google.protobuf.ByteString + getLastModifierBytes() { java.lang.Object ref = lastModifier_; 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); lastModifier_ = b; return b; } else { @@ -4686,61 +4253,54 @@ public com.google.protobuf.ByteString getLastModifierBytes() { } } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The lastModifier to set. * @return This builder for chaining. */ - public Builder setLastModifier(java.lang.String value) { + public Builder setLastModifier( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + lastModifier_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearLastModifier() { - + lastModifier_ = getDefaultInstance().getLastModifier(); onChanged(); return this; } /** - * - * *
      * Output only. Email address of the last authenticated modifier.
      * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for lastModifier to set. * @return This builder for chaining. */ - public Builder setLastModifierBytes(com.google.protobuf.ByteString value) { + public Builder setLastModifierBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + lastModifier_ = value; onChanged(); return this; @@ -4748,20 +4308,18 @@ public Builder setLastModifierBytes(com.google.protobuf.ByteString value) { private java.lang.Object client_ = ""; /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 13; - * * @return The client. */ public java.lang.String getClient() { java.lang.Object ref = client_; 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(); client_ = s; return s; @@ -4770,21 +4328,20 @@ public java.lang.String getClient() { } } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 13; - * * @return The bytes for client. */ - public com.google.protobuf.ByteString getClientBytes() { + public com.google.protobuf.ByteString + getClientBytes() { java.lang.Object ref = client_; 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); client_ = b; return b; } else { @@ -4792,61 +4349,54 @@ public com.google.protobuf.ByteString getClientBytes() { } } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 13; - * * @param value The client to set. * @return This builder for chaining. */ - public Builder setClient(java.lang.String value) { + public Builder setClient( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + client_ = value; onChanged(); return this; } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 13; - * * @return This builder for chaining. */ public Builder clearClient() { - + client_ = getDefaultInstance().getClient(); onChanged(); return this; } /** - * - * *
      * Arbitrary identifier for the API client.
      * 
* * string client = 13; - * * @param value The bytes for client to set. * @return This builder for chaining. */ - public Builder setClientBytes(com.google.protobuf.ByteString value) { + public Builder setClientBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + client_ = value; onChanged(); return this; @@ -4854,20 +4404,18 @@ public Builder setClientBytes(com.google.protobuf.ByteString value) { private java.lang.Object clientVersion_ = ""; /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 14; - * * @return The clientVersion. */ public java.lang.String getClientVersion() { java.lang.Object ref = clientVersion_; 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(); clientVersion_ = s; return s; @@ -4876,21 +4424,20 @@ public java.lang.String getClientVersion() { } } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 14; - * * @return The bytes for clientVersion. */ - public com.google.protobuf.ByteString getClientVersionBytes() { + public com.google.protobuf.ByteString + getClientVersionBytes() { java.lang.Object ref = clientVersion_; 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); clientVersion_ = b; return b; } else { @@ -4898,61 +4445,54 @@ public com.google.protobuf.ByteString getClientVersionBytes() { } } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 14; - * * @param value The clientVersion to set. * @return This builder for chaining. */ - public Builder setClientVersion(java.lang.String value) { + public Builder setClientVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clientVersion_ = value; onChanged(); return this; } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 14; - * * @return This builder for chaining. */ public Builder clearClientVersion() { - + clientVersion_ = getDefaultInstance().getClientVersion(); onChanged(); return this; } /** - * - * *
      * Arbitrary version identifier for the API client.
      * 
* * string client_version = 14; - * * @param value The bytes for clientVersion to set. * @return This builder for chaining. */ - public Builder setClientVersionBytes(com.google.protobuf.ByteString value) { + public Builder setClientVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clientVersion_ = value; onChanged(); return this; @@ -4960,8 +4500,6 @@ public Builder setClientVersionBytes(com.google.protobuf.ByteString value) { private int ingress_ = 0; /** - * - * *
      * Provides the ingress settings for this Service. On output, returns the
      * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -4969,16 +4507,12 @@ public Builder setClientVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The enum numeric value on the wire for ingress. */ - @java.lang.Override - public int getIngressValue() { + @java.lang.Override public int getIngressValue() { return ingress_; } /** - * - * *
      * Provides the ingress settings for this Service. On output, returns the
      * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -4986,19 +4520,16 @@ public int getIngressValue() {
      * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @param value The enum numeric value on the wire for ingress to set. * @return This builder for chaining. */ public Builder setIngressValue(int value) { - + ingress_ = value; onChanged(); return this; } /** - * - * *
      * Provides the ingress settings for this Service. On output, returns the
      * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -5006,19 +4537,15 @@ public Builder setIngressValue(int value) {
      * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The ingress. */ @java.lang.Override public com.google.cloud.run.v2.IngressTraffic getIngress() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.IngressTraffic result = - com.google.cloud.run.v2.IngressTraffic.valueOf(ingress_); + com.google.cloud.run.v2.IngressTraffic result = com.google.cloud.run.v2.IngressTraffic.valueOf(ingress_); return result == null ? com.google.cloud.run.v2.IngressTraffic.UNRECOGNIZED : result; } /** - * - * *
      * Provides the ingress settings for this Service. On output, returns the
      * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -5026,7 +4553,6 @@ public com.google.cloud.run.v2.IngressTraffic getIngress() {
      * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @param value The ingress to set. * @return This builder for chaining. */ @@ -5034,14 +4560,12 @@ public Builder setIngress(com.google.cloud.run.v2.IngressTraffic value) { if (value == null) { throw new NullPointerException(); } - + ingress_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Provides the ingress settings for this Service. On output, returns the
      * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -5049,11 +4573,10 @@ public Builder setIngress(com.google.cloud.run.v2.IngressTraffic value) {
      * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return This builder for chaining. */ public Builder clearIngress() { - + ingress_ = 0; onChanged(); return this; @@ -5061,8 +4584,6 @@ public Builder clearIngress() { private int launchStage_ = 0; /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -5071,16 +4592,12 @@ public Builder clearIngress() {
      * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The enum numeric value on the wire for launchStage. */ - @java.lang.Override - public int getLaunchStageValue() { + @java.lang.Override public int getLaunchStageValue() { return launchStage_; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -5089,19 +4606,16 @@ public int getLaunchStageValue() {
      * 
* * .google.api.LaunchStage launch_stage = 16; - * * @param value The enum numeric value on the wire for launchStage to set. * @return This builder for chaining. */ public Builder setLaunchStageValue(int value) { - + launchStage_ = value; onChanged(); return this; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -5110,7 +4624,6 @@ public Builder setLaunchStageValue(int value) {
      * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The launchStage. */ @java.lang.Override @@ -5120,8 +4633,6 @@ public com.google.api.LaunchStage getLaunchStage() { return result == null ? com.google.api.LaunchStage.UNRECOGNIZED : result; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -5130,7 +4641,6 @@ public com.google.api.LaunchStage getLaunchStage() {
      * 
* * .google.api.LaunchStage launch_stage = 16; - * * @param value The launchStage to set. * @return This builder for chaining. */ @@ -5138,14 +4648,12 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) { if (value == null) { throw new NullPointerException(); } - + launchStage_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The launch stage as defined by [Google Cloud Platform
      * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -5154,11 +4662,10 @@ public Builder setLaunchStage(com.google.api.LaunchStage value) {
      * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return This builder for chaining. */ public Builder clearLaunchStage() { - + launchStage_ = 0; onChanged(); return this; @@ -5166,47 +4673,34 @@ public Builder clearLaunchStage() { private com.google.cloud.run.v2.BinaryAuthorization binaryAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> - binaryAuthorizationBuilder_; + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> binaryAuthorizationBuilder_; /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return Whether the binaryAuthorization field is set. */ public boolean hasBinaryAuthorization() { return binaryAuthorizationBuilder_ != null || binaryAuthorization_ != null; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return The binaryAuthorization. */ public com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization() { if (binaryAuthorizationBuilder_ == null) { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } else { return binaryAuthorizationBuilder_.getMessage(); } } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5227,8 +4721,6 @@ public Builder setBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizatio return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5247,8 +4739,6 @@ public Builder setBinaryAuthorization( return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5259,9 +4749,7 @@ public Builder mergeBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizat if (binaryAuthorizationBuilder_ == null) { if (binaryAuthorization_ != null) { binaryAuthorization_ = - com.google.cloud.run.v2.BinaryAuthorization.newBuilder(binaryAuthorization_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.BinaryAuthorization.newBuilder(binaryAuthorization_).mergeFrom(value).buildPartial(); } else { binaryAuthorization_ = value; } @@ -5273,8 +4761,6 @@ public Builder mergeBinaryAuthorization(com.google.cloud.run.v2.BinaryAuthorizat return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5293,8 +4779,6 @@ public Builder clearBinaryAuthorization() { return this; } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5302,13 +4786,11 @@ public Builder clearBinaryAuthorization() { * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; */ public com.google.cloud.run.v2.BinaryAuthorization.Builder getBinaryAuthorizationBuilder() { - + onChanged(); return getBinaryAuthorizationFieldBuilder().getBuilder(); } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5319,14 +4801,11 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati if (binaryAuthorizationBuilder_ != null) { return binaryAuthorizationBuilder_.getMessageOrBuilder(); } else { - return binaryAuthorization_ == null - ? com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() - : binaryAuthorization_; + return binaryAuthorization_ == null ? + com.google.cloud.run.v2.BinaryAuthorization.getDefaultInstance() : binaryAuthorization_; } } /** - * - * *
      * Settings for the Binary Authorization feature.
      * 
@@ -5334,17 +4813,14 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder> getBinaryAuthorizationFieldBuilder() { if (binaryAuthorizationBuilder_ == null) { - binaryAuthorizationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.BinaryAuthorization, - com.google.cloud.run.v2.BinaryAuthorization.Builder, - com.google.cloud.run.v2.BinaryAuthorizationOrBuilder>( - getBinaryAuthorization(), getParentForChildren(), isClean()); + binaryAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.BinaryAuthorization, com.google.cloud.run.v2.BinaryAuthorization.Builder, com.google.cloud.run.v2.BinaryAuthorizationOrBuilder>( + getBinaryAuthorization(), + getParentForChildren(), + isClean()); binaryAuthorization_ = null; } return binaryAuthorizationBuilder_; @@ -5352,58 +4828,39 @@ public com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizati private com.google.cloud.run.v2.RevisionTemplate template_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionTemplate, - com.google.cloud.run.v2.RevisionTemplate.Builder, - com.google.cloud.run.v2.RevisionTemplateOrBuilder> - templateBuilder_; + com.google.cloud.run.v2.RevisionTemplate, com.google.cloud.run.v2.RevisionTemplate.Builder, com.google.cloud.run.v2.RevisionTemplateOrBuilder> templateBuilder_; /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ public boolean hasTemplate() { return templateBuilder_ != null || template_ != null; } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ public com.google.cloud.run.v2.RevisionTemplate getTemplate() { if (templateBuilder_ == null) { - return template_ == null - ? com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() - : template_; + return template_ == null ? com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() : template_; } else { return templateBuilder_.getMessage(); } } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTemplate(com.google.cloud.run.v2.RevisionTemplate value) { if (templateBuilder_ == null) { @@ -5419,17 +4876,14 @@ public Builder setTemplate(com.google.cloud.run.v2.RevisionTemplate value) { return this; } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTemplate(com.google.cloud.run.v2.RevisionTemplate.Builder builderForValue) { + public Builder setTemplate( + com.google.cloud.run.v2.RevisionTemplate.Builder builderForValue) { if (templateBuilder_ == null) { template_ = builderForValue.build(); onChanged(); @@ -5440,23 +4894,17 @@ public Builder setTemplate(com.google.cloud.run.v2.RevisionTemplate.Builder buil return this; } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTemplate(com.google.cloud.run.v2.RevisionTemplate value) { if (templateBuilder_ == null) { if (template_ != null) { template_ = - com.google.cloud.run.v2.RevisionTemplate.newBuilder(template_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.RevisionTemplate.newBuilder(template_).mergeFrom(value).buildPartial(); } else { template_ = value; } @@ -5468,15 +4916,11 @@ public Builder mergeTemplate(com.google.cloud.run.v2.RevisionTemplate value) { return this; } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTemplate() { if (templateBuilder_ == null) { @@ -5490,88 +4934,66 @@ public Builder clearTemplate() { return this; } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.RevisionTemplate.Builder getTemplateBuilder() { - + onChanged(); return getTemplateFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.RevisionTemplateOrBuilder getTemplateOrBuilder() { if (templateBuilder_ != null) { return templateBuilder_.getMessageOrBuilder(); } else { - return template_ == null - ? com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() - : template_; + return template_ == null ? + com.google.cloud.run.v2.RevisionTemplate.getDefaultInstance() : template_; } } /** - * - * *
      * Required. The template used to create revisions for this Service.
      * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionTemplate, - com.google.cloud.run.v2.RevisionTemplate.Builder, - com.google.cloud.run.v2.RevisionTemplateOrBuilder> + com.google.cloud.run.v2.RevisionTemplate, com.google.cloud.run.v2.RevisionTemplate.Builder, com.google.cloud.run.v2.RevisionTemplateOrBuilder> getTemplateFieldBuilder() { if (templateBuilder_ == null) { - templateBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.RevisionTemplate, - com.google.cloud.run.v2.RevisionTemplate.Builder, - com.google.cloud.run.v2.RevisionTemplateOrBuilder>( - getTemplate(), getParentForChildren(), isClean()); + templateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.RevisionTemplate, com.google.cloud.run.v2.RevisionTemplate.Builder, com.google.cloud.run.v2.RevisionTemplateOrBuilder>( + getTemplate(), + getParentForChildren(), + isClean()); template_ = null; } return templateBuilder_; } private java.util.List traffic_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTrafficIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { traffic_ = new java.util.ArrayList(traffic_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.TrafficTarget, - com.google.cloud.run.v2.TrafficTarget.Builder, - com.google.cloud.run.v2.TrafficTargetOrBuilder> - trafficBuilder_; + com.google.cloud.run.v2.TrafficTarget, com.google.cloud.run.v2.TrafficTarget.Builder, com.google.cloud.run.v2.TrafficTargetOrBuilder> trafficBuilder_; /** - * - * *
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5588,8 +5010,6 @@ public java.util.List getTrafficList() {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5606,8 +5026,6 @@ public int getTrafficCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5624,8 +5042,6 @@ public com.google.cloud.run.v2.TrafficTarget getTraffic(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5634,7 +5050,8 @@ public com.google.cloud.run.v2.TrafficTarget getTraffic(int index) {
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public Builder setTraffic(int index, com.google.cloud.run.v2.TrafficTarget value) {
+    public Builder setTraffic(
+        int index, com.google.cloud.run.v2.TrafficTarget value) {
       if (trafficBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5648,8 +5065,6 @@ public Builder setTraffic(int index, com.google.cloud.run.v2.TrafficTarget value
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5670,8 +5085,6 @@ public Builder setTraffic(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5694,8 +5107,6 @@ public Builder addTraffic(com.google.cloud.run.v2.TrafficTarget value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5704,7 +5115,8 @@ public Builder addTraffic(com.google.cloud.run.v2.TrafficTarget value) {
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public Builder addTraffic(int index, com.google.cloud.run.v2.TrafficTarget value) {
+    public Builder addTraffic(
+        int index, com.google.cloud.run.v2.TrafficTarget value) {
       if (trafficBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5718,8 +5130,6 @@ public Builder addTraffic(int index, com.google.cloud.run.v2.TrafficTarget value
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5728,7 +5138,8 @@ public Builder addTraffic(int index, com.google.cloud.run.v2.TrafficTarget value
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public Builder addTraffic(com.google.cloud.run.v2.TrafficTarget.Builder builderForValue) {
+    public Builder addTraffic(
+        com.google.cloud.run.v2.TrafficTarget.Builder builderForValue) {
       if (trafficBuilder_ == null) {
         ensureTrafficIsMutable();
         traffic_.add(builderForValue.build());
@@ -5739,8 +5150,6 @@ public Builder addTraffic(com.google.cloud.run.v2.TrafficTarget.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5761,8 +5170,6 @@ public Builder addTraffic(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5775,7 +5182,8 @@ public Builder addAllTraffic(
         java.lang.Iterable values) {
       if (trafficBuilder_ == null) {
         ensureTrafficIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, traffic_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, traffic_);
         onChanged();
       } else {
         trafficBuilder_.addAllMessages(values);
@@ -5783,8 +5191,6 @@ public Builder addAllTraffic(
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5804,8 +5210,6 @@ public Builder clearTraffic() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5825,8 +5229,6 @@ public Builder removeTraffic(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5835,12 +5237,11 @@ public Builder removeTraffic(int index) {
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public com.google.cloud.run.v2.TrafficTarget.Builder getTrafficBuilder(int index) {
+    public com.google.cloud.run.v2.TrafficTarget.Builder getTrafficBuilder(
+        int index) {
       return getTrafficFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5849,16 +5250,14 @@ public com.google.cloud.run.v2.TrafficTarget.Builder getTrafficBuilder(int index
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int index) {
+    public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(
+        int index) {
       if (trafficBuilder_ == null) {
-        return traffic_.get(index);
-      } else {
+        return traffic_.get(index);  } else {
         return trafficBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5867,8 +5266,8 @@ public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int in
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public java.util.List
-        getTrafficOrBuilderList() {
+    public java.util.List 
+         getTrafficOrBuilderList() {
       if (trafficBuilder_ != null) {
         return trafficBuilder_.getMessageOrBuilderList();
       } else {
@@ -5876,8 +5275,6 @@ public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5887,12 +5284,10 @@ public com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int in
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
     public com.google.cloud.run.v2.TrafficTarget.Builder addTrafficBuilder() {
-      return getTrafficFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.TrafficTarget.getDefaultInstance());
+      return getTrafficFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.TrafficTarget.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5901,13 +5296,12 @@ public com.google.cloud.run.v2.TrafficTarget.Builder addTrafficBuilder() {
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public com.google.cloud.run.v2.TrafficTarget.Builder addTrafficBuilder(int index) {
-      return getTrafficFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.TrafficTarget.getDefaultInstance());
+    public com.google.cloud.run.v2.TrafficTarget.Builder addTrafficBuilder(
+        int index) {
+      return getTrafficFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.TrafficTarget.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Specifies how to distribute traffic over a collection of Revisions
      * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -5916,31 +5310,27 @@ public com.google.cloud.run.v2.TrafficTarget.Builder addTrafficBuilder(int index
      *
      * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
      */
-    public java.util.List getTrafficBuilderList() {
+    public java.util.List 
+         getTrafficBuilderList() {
       return getTrafficFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.TrafficTarget,
-            com.google.cloud.run.v2.TrafficTarget.Builder,
-            com.google.cloud.run.v2.TrafficTargetOrBuilder>
+        com.google.cloud.run.v2.TrafficTarget, com.google.cloud.run.v2.TrafficTarget.Builder, com.google.cloud.run.v2.TrafficTargetOrBuilder> 
         getTrafficFieldBuilder() {
       if (trafficBuilder_ == null) {
-        trafficBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.TrafficTarget,
-                com.google.cloud.run.v2.TrafficTarget.Builder,
-                com.google.cloud.run.v2.TrafficTargetOrBuilder>(
-                traffic_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        trafficBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.TrafficTarget, com.google.cloud.run.v2.TrafficTarget.Builder, com.google.cloud.run.v2.TrafficTargetOrBuilder>(
+                traffic_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         traffic_ = null;
       }
       return trafficBuilder_;
     }
 
-    private long observedGeneration_;
+    private long observedGeneration_ ;
     /**
-     *
-     *
      * 
      * Output only. The generation of this Service currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -5950,7 +5340,6 @@ public java.util.List getTrafficB
      * 
* * int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -5958,8 +5347,6 @@ public long getObservedGeneration() { return observedGeneration_; } /** - * - * *
      * Output only. The generation of this Service currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -5969,19 +5356,16 @@ public long getObservedGeneration() {
      * 
* * int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The observedGeneration to set. * @return This builder for chaining. */ public Builder setObservedGeneration(long value) { - + observedGeneration_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The generation of this Service currently serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
@@ -5991,11 +5375,10 @@ public Builder setObservedGeneration(long value) {
      * 
* * int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearObservedGeneration() { - + observedGeneration_ = 0L; onChanged(); return this; @@ -6003,13 +5386,8 @@ public Builder clearObservedGeneration() { private com.google.cloud.run.v2.Condition terminalCondition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - terminalConditionBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> terminalConditionBuilder_; /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6017,18 +5395,13 @@ public Builder clearObservedGeneration() {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ public boolean hasTerminalCondition() { return terminalConditionBuilder_ != null || terminalCondition_ != null; } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6036,24 +5409,17 @@ public boolean hasTerminalCondition() {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ public com.google.cloud.run.v2.Condition getTerminalCondition() { if (terminalConditionBuilder_ == null) { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } else { return terminalConditionBuilder_.getMessage(); } } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6061,9 +5427,7 @@ public com.google.cloud.run.v2.Condition getTerminalCondition() {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition value) { if (terminalConditionBuilder_ == null) { @@ -6079,8 +5443,6 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6088,11 +5450,10 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition value) {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setTerminalCondition(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder setTerminalCondition( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (terminalConditionBuilder_ == null) { terminalCondition_ = builderForValue.build(); onChanged(); @@ -6103,8 +5464,6 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition.Builder bu return this; } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6112,17 +5471,13 @@ public Builder setTerminalCondition(com.google.cloud.run.v2.Condition.Builder bu
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTerminalCondition(com.google.cloud.run.v2.Condition value) { if (terminalConditionBuilder_ == null) { if (terminalCondition_ != null) { terminalCondition_ = - com.google.cloud.run.v2.Condition.newBuilder(terminalCondition_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.Condition.newBuilder(terminalCondition_).mergeFrom(value).buildPartial(); } else { terminalCondition_ = value; } @@ -6134,8 +5489,6 @@ public Builder mergeTerminalCondition(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6143,9 +5496,7 @@ public Builder mergeTerminalCondition(com.google.cloud.run.v2.Condition value) {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTerminalCondition() { if (terminalConditionBuilder_ == null) { @@ -6159,8 +5510,6 @@ public Builder clearTerminalCondition() { return this; } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6168,18 +5517,14 @@ public Builder clearTerminalCondition() {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder getTerminalConditionBuilder() { - + onChanged(); return getTerminalConditionFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6187,22 +5532,17 @@ public com.google.cloud.run.v2.Condition.Builder getTerminalConditionBuilder() {
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder() { if (terminalConditionBuilder_ != null) { return terminalConditionBuilder_.getMessageOrBuilder(); } else { - return terminalCondition_ == null - ? com.google.cloud.run.v2.Condition.getDefaultInstance() - : terminalCondition_; + return terminalCondition_ == null ? + com.google.cloud.run.v2.Condition.getDefaultInstance() : terminalCondition_; } } /** - * - * *
      * Output only. The Condition of this Service, containing its readiness status, and
      * detailed error information in case it did not reach a serving state. See
@@ -6210,46 +5550,35 @@ public com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder(
      * process in Cloud Run.
      * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getTerminalConditionFieldBuilder() { if (terminalConditionBuilder_ == null) { - terminalConditionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - getTerminalCondition(), getParentForChildren(), isClean()); + terminalConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + getTerminalCondition(), + getParentForChildren(), + isClean()); terminalCondition_ = null; } return terminalConditionBuilder_; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - conditionsBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6257,9 +5586,7 @@ private void ensureConditionsIsMutable() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { @@ -6269,8 +5596,6 @@ public java.util.List getConditionsList() { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6278,9 +5603,7 @@ public java.util.List getConditionsList() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -6290,8 +5613,6 @@ public int getConditionsCount() { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6299,9 +5620,7 @@ public int getConditionsCount() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition getConditions(int index) { if (conditionsBuilder_ == null) { @@ -6311,8 +5630,6 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6320,11 +5637,10 @@ public com.google.cloud.run.v2.Condition getConditions(int index) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder setConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6338,8 +5654,6 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6347,9 +5661,7 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6363,8 +5675,6 @@ public Builder setConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6372,9 +5682,7 @@ public Builder setConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions(com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { @@ -6390,8 +5698,6 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6399,11 +5705,10 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder addConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6417,8 +5722,6 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6426,11 +5729,10 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder addConditions( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -6441,8 +5743,6 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6450,9 +5750,7 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6466,8 +5764,6 @@ public Builder addConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6475,15 +5771,14 @@ public Builder addConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -6491,8 +5786,6 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6500,9 +5793,7 @@ public Builder addAllConditions(
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -6515,8 +5806,6 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6524,9 +5813,7 @@ public Builder clearConditions() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -6539,8 +5826,6 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6548,16 +5833,13 @@ public Builder removeConditions(int index) {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) { + public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6565,20 +5847,16 @@ public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6586,12 +5864,10 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -6599,8 +5875,6 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind } } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6608,17 +5882,13 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6626,17 +5896,14 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() {
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Condition.getDefaultInstance()); + public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Conditions of all other associated sub-resources. They contain
      * additional diagnostics information in case the Service does not reach its
@@ -6644,26 +5911,22 @@ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index)
      * reconciliation process in Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; @@ -6671,24 +5934,20 @@ public java.util.List getConditionsBu private java.lang.Object latestReadyRevision_ = ""; /** - * - * *
      * Output only. Name of the latest revision that is serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
      * Run.
      * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestReadyRevision. */ public java.lang.String getLatestReadyRevision() { java.lang.Object ref = latestReadyRevision_; 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(); latestReadyRevision_ = s; return s; @@ -6697,25 +5956,22 @@ public java.lang.String getLatestReadyRevision() { } } /** - * - * *
      * Output only. Name of the latest revision that is serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
      * Run.
      * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestReadyRevision. */ - public com.google.protobuf.ByteString getLatestReadyRevisionBytes() { + public com.google.protobuf.ByteString + getLatestReadyRevisionBytes() { java.lang.Object ref = latestReadyRevision_; 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); latestReadyRevision_ = b; return b; } else { @@ -6723,73 +5979,60 @@ public com.google.protobuf.ByteString getLatestReadyRevisionBytes() { } } /** - * - * *
      * Output only. Name of the latest revision that is serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
      * Run.
      * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The latestReadyRevision to set. * @return This builder for chaining. */ - public Builder setLatestReadyRevision(java.lang.String value) { + public Builder setLatestReadyRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestReadyRevision_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the latest revision that is serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
      * Run.
      * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLatestReadyRevision() { - + latestReadyRevision_ = getDefaultInstance().getLatestReadyRevision(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the latest revision that is serving traffic. See comments in
      * `reconciling` for additional information on reconciliation process in Cloud
      * Run.
      * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for latestReadyRevision to set. * @return This builder for chaining. */ - public Builder setLatestReadyRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setLatestReadyRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestReadyRevision_ = value; onChanged(); return this; @@ -6797,23 +6040,19 @@ public Builder setLatestReadyRevisionBytes(com.google.protobuf.ByteString value) private java.lang.Object latestCreatedRevision_ = ""; /** - * - * *
      * Output only. Name of the last created revision. See comments in `reconciling` for
      * additional information on reconciliation process in Cloud Run.
      * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestCreatedRevision. */ public java.lang.String getLatestCreatedRevision() { java.lang.Object ref = latestCreatedRevision_; 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(); latestCreatedRevision_ = s; return s; @@ -6822,24 +6061,21 @@ public java.lang.String getLatestCreatedRevision() { } } /** - * - * *
      * Output only. Name of the last created revision. See comments in `reconciling` for
      * additional information on reconciliation process in Cloud Run.
      * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestCreatedRevision. */ - public com.google.protobuf.ByteString getLatestCreatedRevisionBytes() { + public com.google.protobuf.ByteString + getLatestCreatedRevisionBytes() { java.lang.Object ref = latestCreatedRevision_; 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); latestCreatedRevision_ = b; return b; } else { @@ -6847,104 +6083,82 @@ public com.google.protobuf.ByteString getLatestCreatedRevisionBytes() { } } /** - * - * *
      * Output only. Name of the last created revision. See comments in `reconciling` for
      * additional information on reconciliation process in Cloud Run.
      * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The latestCreatedRevision to set. * @return This builder for chaining. */ - public Builder setLatestCreatedRevision(java.lang.String value) { + public Builder setLatestCreatedRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + latestCreatedRevision_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Name of the last created revision. See comments in `reconciling` for
      * additional information on reconciliation process in Cloud Run.
      * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLatestCreatedRevision() { - + latestCreatedRevision_ = getDefaultInstance().getLatestCreatedRevision(); onChanged(); return this; } /** - * - * *
      * Output only. Name of the last created revision. See comments in `reconciling` for
      * additional information on reconciliation process in Cloud Run.
      * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for latestCreatedRevision to set. * @return This builder for chaining. */ - public Builder setLatestCreatedRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setLatestCreatedRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + latestCreatedRevision_ = value; onChanged(); return this; } private java.util.List trafficStatuses_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTrafficStatusesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - trafficStatuses_ = - new java.util.ArrayList(trafficStatuses_); + trafficStatuses_ = new java.util.ArrayList(trafficStatuses_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.TrafficTargetStatus, - com.google.cloud.run.v2.TrafficTargetStatus.Builder, - com.google.cloud.run.v2.TrafficTargetStatusOrBuilder> - trafficStatusesBuilder_; + com.google.cloud.run.v2.TrafficTargetStatus, com.google.cloud.run.v2.TrafficTargetStatus.Builder, com.google.cloud.run.v2.TrafficTargetStatusOrBuilder> trafficStatusesBuilder_; /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getTrafficStatusesList() { if (trafficStatusesBuilder_ == null) { @@ -6954,17 +6168,13 @@ public java.util.List getTrafficSta } } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getTrafficStatusesCount() { if (trafficStatusesBuilder_ == null) { @@ -6974,17 +6184,13 @@ public int getTrafficStatusesCount() { } } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TrafficTargetStatus getTrafficStatuses(int index) { if (trafficStatusesBuilder_ == null) { @@ -6994,17 +6200,13 @@ public com.google.cloud.run.v2.TrafficTargetStatus getTrafficStatuses(int index) } } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTrafficStatuses( int index, com.google.cloud.run.v2.TrafficTargetStatus value) { @@ -7021,17 +6223,13 @@ public Builder setTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTrafficStatuses( int index, com.google.cloud.run.v2.TrafficTargetStatus.Builder builderForValue) { @@ -7045,17 +6243,13 @@ public Builder setTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTrafficStatuses(com.google.cloud.run.v2.TrafficTargetStatus value) { if (trafficStatusesBuilder_ == null) { @@ -7071,17 +6265,13 @@ public Builder addTrafficStatuses(com.google.cloud.run.v2.TrafficTargetStatus va return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTrafficStatuses( int index, com.google.cloud.run.v2.TrafficTargetStatus value) { @@ -7098,17 +6288,13 @@ public Builder addTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTrafficStatuses( com.google.cloud.run.v2.TrafficTargetStatus.Builder builderForValue) { @@ -7122,17 +6308,13 @@ public Builder addTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addTrafficStatuses( int index, com.google.cloud.run.v2.TrafficTargetStatus.Builder builderForValue) { @@ -7146,23 +6328,20 @@ public Builder addTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllTrafficStatuses( java.lang.Iterable values) { if (trafficStatusesBuilder_ == null) { ensureTrafficStatusesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trafficStatuses_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, trafficStatuses_); onChanged(); } else { trafficStatusesBuilder_.addAllMessages(values); @@ -7170,17 +6349,13 @@ public Builder addAllTrafficStatuses( return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTrafficStatuses() { if (trafficStatusesBuilder_ == null) { @@ -7193,17 +6368,13 @@ public Builder clearTrafficStatuses() { return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeTrafficStatuses(int index) { if (trafficStatusesBuilder_ == null) { @@ -7216,58 +6387,45 @@ public Builder removeTrafficStatuses(int index) { return this; } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TrafficTargetStatus.Builder getTrafficStatusesBuilder( int index) { return getTrafficStatusesFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder( int index) { if (trafficStatusesBuilder_ == null) { - return trafficStatuses_.get(index); - } else { + return trafficStatuses_.get(index); } else { return trafficStatusesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTrafficStatusesOrBuilderList() { + public java.util.List + getTrafficStatusesOrBuilderList() { if (trafficStatusesBuilder_ != null) { return trafficStatusesBuilder_.getMessageOrBuilderList(); } else { @@ -7275,69 +6433,51 @@ public com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOr } } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TrafficTargetStatus.Builder addTrafficStatusesBuilder() { - return getTrafficStatusesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.TrafficTargetStatus.getDefaultInstance()); + return getTrafficStatusesFieldBuilder().addBuilder( + com.google.cloud.run.v2.TrafficTargetStatus.getDefaultInstance()); } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TrafficTargetStatus.Builder addTrafficStatusesBuilder( int index) { - return getTrafficStatusesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.TrafficTargetStatus.getDefaultInstance()); + return getTrafficStatusesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.TrafficTargetStatus.getDefaultInstance()); } /** - * - * *
      * Output only. Detailed status information for corresponding traffic targets. See comments
      * in `reconciling` for additional information on reconciliation process in
      * Cloud Run.
      * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getTrafficStatusesBuilderList() { + public java.util.List + getTrafficStatusesBuilderList() { return getTrafficStatusesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.TrafficTargetStatus, - com.google.cloud.run.v2.TrafficTargetStatus.Builder, - com.google.cloud.run.v2.TrafficTargetStatusOrBuilder> + com.google.cloud.run.v2.TrafficTargetStatus, com.google.cloud.run.v2.TrafficTargetStatus.Builder, com.google.cloud.run.v2.TrafficTargetStatusOrBuilder> getTrafficStatusesFieldBuilder() { if (trafficStatusesBuilder_ == null) { - trafficStatusesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.TrafficTargetStatus, - com.google.cloud.run.v2.TrafficTargetStatus.Builder, - com.google.cloud.run.v2.TrafficTargetStatusOrBuilder>( + trafficStatusesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.TrafficTargetStatus, com.google.cloud.run.v2.TrafficTargetStatus.Builder, com.google.cloud.run.v2.TrafficTargetStatusOrBuilder>( trafficStatuses_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -7349,20 +6489,18 @@ public com.google.cloud.run.v2.TrafficTargetStatus.Builder addTrafficStatusesBui private java.lang.Object uri_ = ""; /** - * - * *
      * Output only. The main URI in which this Service is serving traffic.
      * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -7371,21 +6509,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * Output only. The main URI in which this Service is serving traffic.
      * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -7393,70 +6530,61 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Output only. The main URI in which this Service is serving traffic.
      * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } /** - * - * *
      * Output only. The main URI in which this Service is serving traffic.
      * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Output only. The main URI in which this Service is serving traffic.
      * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Returns true if the Service is currently being acted upon by the system to
      * bring it into the desired state.
@@ -7480,7 +6608,6 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) {
      * 
* * bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -7488,8 +6615,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Returns true if the Service is currently being acted upon by the system to
      * bring it into the desired state.
@@ -7513,19 +6638,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Returns true if the Service is currently being acted upon by the system to
      * bring it into the desired state.
@@ -7549,11 +6671,10 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; @@ -7561,21 +6682,19 @@ public Builder clearReconciling() { private java.lang.Object etag_ = ""; /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -7584,22 +6703,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -7607,71 +6725,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -7681,12 +6792,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Service) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Service) private static final com.google.cloud.run.v2.Service DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Service(); } @@ -7695,27 +6806,27 @@ public static com.google.cloud.run.v2.Service getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Service parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Service parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7730,4 +6841,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Service getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java similarity index 80% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java index d8cc384bfe62..df89e68fea9e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceOrBuilder.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/run/v2/service.proto package com.google.cloud.run.v2; -public interface ServiceOrBuilder - extends +public interface ServiceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Service) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The fully qualified name of this Service. In CreateServiceRequest, this
    * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -35,13 +17,10 @@ public interface ServiceOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The fully qualified name of this Service. In CreateServiceRequest, this
    * field is ignored, and instead composed from CreateServiceRequest.parent and
@@ -51,68 +30,56 @@ public interface ServiceOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * User-provided description of the Service. This field currently has a
    * 512-character limit.
    * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * User-provided description of the Service. This field currently has a
    * 512-character limit.
    * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server assigned unique identifier for the trigger. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
@@ -121,14 +88,11 @@ public interface ServiceOrBuilder
    * 
* * int64 generation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ long getGeneration(); /** - * - * *
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -146,8 +110,6 @@ public interface ServiceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -163,13 +125,15 @@ public interface ServiceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -185,10 +149,9 @@ public interface ServiceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -206,13 +169,11 @@ public interface ServiceOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Map of string keys and values that can be used to organize and categorize
    * objects.
@@ -228,11 +189,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -246,8 +207,6 @@ java.lang.String getLabelsOrDefault(
    */
   int getAnnotationsCount();
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -259,13 +218,15 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 6;
    */
-  boolean containsAnnotations(java.lang.String key);
-  /** Use {@link #getAnnotationsMap()} instead. */
+  boolean containsAnnotations(
+      java.lang.String key);
+  /**
+   * Use {@link #getAnnotationsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAnnotations();
+  java.util.Map
+  getAnnotations();
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -277,10 +238,9 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> annotations = 6;
    */
-  java.util.Map getAnnotationsMap();
+  java.util.Map
+  getAnnotationsMap();
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -294,13 +254,11 @@ java.lang.String getLabelsOrDefault(
    */
 
   /* nullable */
-  java.lang.String getAnnotationsOrDefault(
+java.lang.String getAnnotationsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Unstructured key value map that may be set by external tools to store and
    * arbitrary metadata. They are not queryable and should be preserved
@@ -312,266 +270,202 @@ java.lang.String getAnnotationsOrDefault(
    *
    * map<string, string> annotations = 6;
    */
-  java.lang.String getAnnotationsOrThrow(java.lang.String key);
+
+  java.lang.String getAnnotationsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The creation time.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. The deletion time.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The creator. */ java.lang.String getCreator(); /** - * - * *
    * Output only. Email address of the authenticated creator.
    * 
* * string creator = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for creator. */ - com.google.protobuf.ByteString getCreatorBytes(); + com.google.protobuf.ByteString + getCreatorBytes(); /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The lastModifier. */ java.lang.String getLastModifier(); /** - * - * *
    * Output only. Email address of the last authenticated modifier.
    * 
* * string last_modifier = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for lastModifier. */ - com.google.protobuf.ByteString getLastModifierBytes(); + com.google.protobuf.ByteString + getLastModifierBytes(); /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 13; - * * @return The client. */ java.lang.String getClient(); /** - * - * *
    * Arbitrary identifier for the API client.
    * 
* * string client = 13; - * * @return The bytes for client. */ - com.google.protobuf.ByteString getClientBytes(); + com.google.protobuf.ByteString + getClientBytes(); /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 14; - * * @return The clientVersion. */ java.lang.String getClientVersion(); /** - * - * *
    * Arbitrary version identifier for the API client.
    * 
* * string client_version = 14; - * * @return The bytes for clientVersion. */ - com.google.protobuf.ByteString getClientVersionBytes(); + com.google.protobuf.ByteString + getClientVersionBytes(); /** - * - * *
    * Provides the ingress settings for this Service. On output, returns the
    * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -579,13 +473,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The enum numeric value on the wire for ingress. */ int getIngressValue(); /** - * - * *
    * Provides the ingress settings for this Service. On output, returns the
    * currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no
@@ -593,14 +484,11 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.cloud.run.v2.IngressTraffic ingress = 15; - * * @return The ingress. */ com.google.cloud.run.v2.IngressTraffic getIngress(); /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -609,13 +497,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The enum numeric value on the wire for launchStage. */ int getLaunchStageValue(); /** - * - * *
    * The launch stage as defined by [Google Cloud Platform
    * Launch Stages](https://cloud.google.com/terms/launch-stages).
@@ -624,38 +509,29 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.api.LaunchStage launch_stage = 16; - * * @return The launchStage. */ com.google.api.LaunchStage getLaunchStage(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return Whether the binaryAuthorization field is set. */ boolean hasBinaryAuthorization(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
* * .google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; - * * @return The binaryAuthorization. */ com.google.cloud.run.v2.BinaryAuthorization getBinaryAuthorization(); /** - * - * *
    * Settings for the Binary Authorization feature.
    * 
@@ -665,49 +541,33 @@ java.lang.String getAnnotationsOrDefault( com.google.cloud.run.v2.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder(); /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the template field is set. */ boolean hasTemplate(); /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; * @return The template. */ com.google.cloud.run.v2.RevisionTemplate getTemplate(); /** - * - * *
    * Required. The template used to create revisions for this Service.
    * 
* - * - * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.RevisionTemplate template = 18 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.run.v2.RevisionTemplateOrBuilder getTemplateOrBuilder(); /** - * - * *
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -716,10 +576,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
    */
-  java.util.List getTrafficList();
+  java.util.List 
+      getTrafficList();
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -730,8 +589,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   com.google.cloud.run.v2.TrafficTarget getTraffic(int index);
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -742,8 +599,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   int getTrafficCount();
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -752,11 +607,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
    */
-  java.util.List
+  java.util.List 
       getTrafficOrBuilderList();
   /**
-   *
-   *
    * 
    * Specifies how to distribute traffic over a collection of Revisions
    * belonging to the Service. If traffic is empty or not provided, defaults to
@@ -765,11 +618,10 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.TrafficTarget traffic = 19;
    */
-  com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(int index);
+  com.google.cloud.run.v2.TrafficTargetOrBuilder getTrafficOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. The generation of this Service currently serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
@@ -779,14 +631,11 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * int64 observed_generation = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ long getObservedGeneration(); /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -794,16 +643,11 @@ java.lang.String getAnnotationsOrDefault(
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the terminalCondition field is set. */ boolean hasTerminalCondition(); /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -811,16 +655,11 @@ java.lang.String getAnnotationsOrDefault(
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The terminalCondition. */ com.google.cloud.run.v2.Condition getTerminalCondition(); /** - * - * *
    * Output only. The Condition of this Service, containing its readiness status, and
    * detailed error information in case it did not reach a serving state. See
@@ -828,15 +667,11 @@ java.lang.String getAnnotationsOrDefault(
    * process in Cloud Run.
    * 
* - * - * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.Condition terminal_condition = 31 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.ConditionOrBuilder getTerminalConditionOrBuilder(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -844,14 +679,11 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -859,14 +691,10 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.Condition getConditions(int index); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -874,14 +702,10 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getConditionsCount(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -889,14 +713,11 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsOrBuilderList(); + java.util.List + getConditionsOrBuilderList(); /** - * - * *
    * Output only. The Conditions of all other associated sub-resources. They contain
    * additional diagnostics information in case the Service does not reach its
@@ -904,176 +725,132 @@ java.lang.String getAnnotationsOrDefault(
    * reconciliation process in Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 32 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Output only. Name of the latest revision that is serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
    * Run.
    * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestReadyRevision. */ java.lang.String getLatestReadyRevision(); /** - * - * *
    * Output only. Name of the latest revision that is serving traffic. See comments in
    * `reconciling` for additional information on reconciliation process in Cloud
    * Run.
    * 
* - * - * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_ready_revision = 33 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestReadyRevision. */ - com.google.protobuf.ByteString getLatestReadyRevisionBytes(); + com.google.protobuf.ByteString + getLatestReadyRevisionBytes(); /** - * - * *
    * Output only. Name of the last created revision. See comments in `reconciling` for
    * additional information on reconciliation process in Cloud Run.
    * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The latestCreatedRevision. */ java.lang.String getLatestCreatedRevision(); /** - * - * *
    * Output only. Name of the last created revision. See comments in `reconciling` for
    * additional information on reconciliation process in Cloud Run.
    * 
* - * - * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string latest_created_revision = 34 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for latestCreatedRevision. */ - com.google.protobuf.ByteString getLatestCreatedRevisionBytes(); + com.google.protobuf.ByteString + getLatestCreatedRevisionBytes(); /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getTrafficStatusesList(); + java.util.List + getTrafficStatusesList(); /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.TrafficTargetStatus getTrafficStatuses(int index); /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getTrafficStatusesCount(); /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getTrafficStatusesOrBuilderList(); /** - * - * *
    * Output only. Detailed status information for corresponding traffic targets. See comments
    * in `reconciling` for additional information on reconciliation process in
    * Cloud Run.
    * 
* - * - * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder(int index); + com.google.cloud.run.v2.TrafficTargetStatusOrBuilder getTrafficStatusesOrBuilder( + int index); /** - * - * *
    * Output only. The main URI in which this Service is serving traffic.
    * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Output only. The main URI in which this Service is serving traffic.
    * 
* * string uri = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Output only. Returns true if the Service is currently being acted upon by the system to
    * bring it into the desired state.
@@ -1097,35 +874,29 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 98 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java new file mode 100644 index 000000000000..6a7900808751 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/ServiceProto.java @@ -0,0 +1,287 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/service.proto + +package com.google.cloud.run.v2; + +public final class ServiceProto { + private ServiceProto() {} + 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_run_v2_CreateServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListServicesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListServicesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_GetServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Service_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Service_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Service_AnnotationsEntry_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/run/v2/service.proto\022\023goo" + + "gle.cloud.run.v2\032\034google/api/annotations" + + ".proto\032\027google/api/client.proto\032\037google/" + + "api/field_behavior.proto\032\035google/api/lau" + + "nch_stage.proto\032\031google/api/resource.pro" + + "to\032\030google/api/routing.proto\032#google/clo" + + "ud/run/v2/condition.proto\032+google/cloud/" + + "run/v2/revision_template.proto\032(google/c" + + "loud/run/v2/traffic_target.proto\032)google" + + "/cloud/run/v2/vendor_settings.proto\032\036goo" + + "gle/iam/v1/iam_policy.proto\032\032google/iam/" + + "v1/policy.proto\032#google/longrunning/oper" + + "ations.proto\032\037google/protobuf/timestamp." + + "proto\"\256\001\n\024CreateServiceRequest\0222\n\006parent" + + "\030\001 \001(\tB\"\340A\002\372A\034\022\032run.googleapis.com/Servi" + + "ce\0222\n\007service\030\002 \001(\0132\034.google.cloud.run.v" + + "2.ServiceB\003\340A\002\022\027\n\nservice_id\030\003 \001(\tB\003\340A\002\022" + + "\025\n\rvalidate_only\030\004 \001(\010\"x\n\024UpdateServiceR" + + "equest\0222\n\007service\030\001 \001(\0132\034.google.cloud.r" + + "un.v2.ServiceB\003\340A\002\022\025\n\rvalidate_only\030\003 \001(" + + "\010\022\025\n\rallow_missing\030\004 \001(\010\"\206\001\n\023ListService" + + "sRequest\0222\n\006parent\030\001 \001(\tB\"\340A\002\372A\034\022\032run.go" + + "ogleapis.com/Service\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\022\024\n\014show_deleted\030\004 \001(" + + "\010\"_\n\024ListServicesResponse\022.\n\010services\030\001 " + + "\003(\0132\034.google.cloud.run.v2.Service\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"E\n\021GetServiceRequest\022" + + "0\n\004name\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.co" + + "m/Service\"m\n\024DeleteServiceRequest\0220\n\004nam" + + "e\030\001 \001(\tB\"\340A\002\372A\034\n\032run.googleapis.com/Serv" + + "ice\022\025\n\rvalidate_only\030\002 \001(\010\022\014\n\004etag\030\003 \001(\t" + + "\"\230\013\n\007Service\022\014\n\004name\030\001 \001(\t\022\023\n\013descriptio" + + "n\030\002 \001(\t\022\020\n\003uid\030\003 \001(\tB\003\340A\003\022\027\n\ngeneration\030" + + "\004 \001(\003B\003\340A\003\0228\n\006labels\030\005 \003(\0132(.google.clou" + + "d.run.v2.Service.LabelsEntry\022B\n\013annotati" + + "ons\030\006 \003(\0132-.google.cloud.run.v2.Service." + + "AnnotationsEntry\0224\n\013create_time\030\007 \001(\0132\032." + + "google.protobuf.TimestampB\003\340A\003\0224\n\013update" + + "_time\030\010 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013delete_time\030\t \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\0224\n\013expire_time\030\n \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\022\024\n\007crea" + + "tor\030\013 \001(\tB\003\340A\003\022\032\n\rlast_modifier\030\014 \001(\tB\003\340" + + "A\003\022\016\n\006client\030\r \001(\t\022\026\n\016client_version\030\016 \001" + + "(\t\0224\n\007ingress\030\017 \001(\0162#.google.cloud.run.v" + + "2.IngressTraffic\022-\n\014launch_stage\030\020 \001(\0162\027" + + ".google.api.LaunchStage\022F\n\024binary_author" + + "ization\030\021 \001(\0132(.google.cloud.run.v2.Bina" + + "ryAuthorization\022<\n\010template\030\022 \001(\0132%.goog" + + "le.cloud.run.v2.RevisionTemplateB\003\340A\002\0223\n" + + "\007traffic\030\023 \003(\0132\".google.cloud.run.v2.Tra" + + "fficTarget\022 \n\023observed_generation\030\036 \001(\003B" + + "\003\340A\003\022?\n\022terminal_condition\030\037 \001(\0132\036.googl" + + "e.cloud.run.v2.ConditionB\003\340A\003\0227\n\nconditi" + + "ons\030 \003(\0132\036.google.cloud.run.v2.Conditio" + + "nB\003\340A\003\022B\n\025latest_ready_revision\030! \001(\tB#\340" + + "A\003\372A\035\n\033run.googleapis.com/Revision\022D\n\027la" + + "test_created_revision\030\" \001(\tB#\340A\003\372A\035\n\033run" + + ".googleapis.com/Revision\022G\n\020traffic_stat" + + "uses\030# \003(\0132(.google.cloud.run.v2.Traffic" + + "TargetStatusB\003\340A\003\022\020\n\003uri\030$ \001(\tB\003\340A\003\022\030\n\013r" + + "econciling\030b \001(\010B\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003" + + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001:^\352A[\n\032run.googleapis" + + ".com/Service\022:projects/{project}/locatio" + + "ns/{location}/services/{service}R\001\0012\267\r\n\010" + + "Services\022\375\001\n\rCreateService\022).google.clou" + + "d.run.v2.CreateServiceRequest\032\035.google.l" + + "ongrunning.Operation\"\241\001\202\323\344\223\0027\",/v2/{pare" + + "nt=projects/*/locations/*}/services:\007ser" + + "vice\212\323\344\223\002-\022+\n\006parent\022!projects/*/locatio" + + "ns/{location=*}\332A\031parent,service,service" + + "_id\312A\022\n\007Service\022\007Service\022\303\001\n\nGetService\022" + + "&.google.cloud.run.v2.GetServiceRequest\032" + + "\034.google.cloud.run.v2.Service\"o\202\323\344\223\002.\022,/" + + "v2/{name=projects/*/locations/*/services" + + "/*}\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/" + + "{location=*}/**\332A\004name\022\325\001\n\014ListServices\022" + + "(.google.cloud.run.v2.ListServicesReques" + + "t\032).google.cloud.run.v2.ListServicesResp" + + "onse\"p\202\323\344\223\002.\022,/v2/{parent=projects/*/loc" + + "ations/*}/services\212\323\344\223\002-\022+\n\006parent\022!proj" + + "ects/*/locations/{location=*}\332A\006parent\022\374" + + "\001\n\rUpdateService\022).google.cloud.run.v2.U" + + "pdateServiceRequest\032\035.google.longrunning" + + ".Operation\"\240\001\202\323\344\223\002?24/v2/{service.name=p" + + "rojects/*/locations/*/services/*}:\007servi" + + "ce\212\323\344\223\0026\0224\n\014service.name\022$projects/*/loc" + + "ations/{location=*}/**\332A\007service\312A\022\n\007Ser" + + "vice\022\007Service\022\340\001\n\rDeleteService\022).google" + + ".cloud.run.v2.DeleteServiceRequest\032\035.goo" + + "gle.longrunning.Operation\"\204\001\202\323\344\223\002.*,/v2/" + + "{name=projects/*/locations/*/services/*}" + + "\212\323\344\223\002.\022,\n\004name\022$projects/*/locations/{lo" + + "cation=*}/**\332A\004name\312A\022\n\007Service\022\007Service" + + "\022\220\001\n\014GetIamPolicy\022\".google.iam.v1.GetIam" + + "PolicyRequest\032\025.google.iam.v1.Policy\"E\202\323" + + "\344\223\002?\022=/v2/{resource=projects/*/locations" + + "/*/services/*}:getIamPolicy\022\223\001\n\014SetIamPo" + + "licy\022\".google.iam.v1.SetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"H\202\323\344\223\002B\"=/v2/{re" + + "source=projects/*/locations/*/services/*" + + "}:setIamPolicy:\001*\022\271\001\n\022TestIamPermissions" + + "\022(.google.iam.v1.TestIamPermissionsReque" + + "st\032).google.iam.v1.TestIamPermissionsRes" + + "ponse\"N\202\323\344\223\002H\"C/v2/{resource=projects/*/" + + "locations/*/services/*}:testIamPermissio" + + "ns:\001*\032F\312A\022run.googleapis.com\322A.https://w" + + "ww.googleapis.com/auth/cloud-platformBa\n" + + "\027com.google.cloud.run.v2B\014ServiceProtoP\001" + + "Z6google.golang.org/genproto/googleapis/" + + "cloud/run/v2;runb\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.LaunchStageProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.cloud.run.v2.ConditionProto.getDescriptor(), + com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor(), + com.google.cloud.run.v2.TrafficTargetProto.getDescriptor(), + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_CreateServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_CreateServiceRequest_descriptor, + new java.lang.String[] { "Parent", "Service", "ServiceId", "ValidateOnly", }); + internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor, + new java.lang.String[] { "Service", "ValidateOnly", "AllowMissing", }); + internal_static_google_cloud_run_v2_ListServicesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_ListServicesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListServicesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_cloud_run_v2_ListServicesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_ListServicesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListServicesResponse_descriptor, + new java.lang.String[] { "Services", "NextPageToken", }); + internal_static_google_cloud_run_v2_GetServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_GetServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GetServiceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_run_v2_DeleteServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_DeleteServiceRequest_descriptor, + new java.lang.String[] { "Name", "ValidateOnly", "Etag", }); + internal_static_google_cloud_run_v2_Service_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_run_v2_Service_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Service_descriptor, + new java.lang.String[] { "Name", "Description", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "UpdateTime", "DeleteTime", "ExpireTime", "Creator", "LastModifier", "Client", "ClientVersion", "Ingress", "LaunchStage", "BinaryAuthorization", "Template", "Traffic", "ObservedGeneration", "TerminalCondition", "Conditions", "LatestReadyRevision", "LatestCreatedRevision", "TrafficStatuses", "Uri", "Reconciling", "Etag", }); + internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_Service_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Service_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_Service_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_Service_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Service_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + 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.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.api.RoutingProto.routing); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + 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.LaunchStageProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.RoutingProto.getDescriptor(); + com.google.cloud.run.v2.ConditionProto.getDescriptor(); + com.google.cloud.run.v2.RevisionTemplateProto.getDescriptor(); + com.google.cloud.run.v2.TrafficTargetProto.getDescriptor(); + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java similarity index 64% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java index 59c4e2531f0d..5f4e0ebf9822 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketAction.java @@ -1,81 +1,61 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * TCPSocketAction describes an action based on opening a socket
  * 
* * Protobuf type {@code google.cloud.run.v2.TCPSocketAction} */ -public final class TCPSocketAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TCPSocketAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.TCPSocketAction) TCPSocketActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TCPSocketAction.newBuilder() to construct. private TCPSocketAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TCPSocketAction() {} + private TCPSocketAction() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TCPSocketAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TCPSocketAction.class, - com.google.cloud.run.v2.TCPSocketAction.Builder.class); + com.google.cloud.run.v2.TCPSocketAction.class, com.google.cloud.run.v2.TCPSocketAction.Builder.class); } public static final int PORT_FIELD_NUMBER = 1; private int port_; /** - * - * *
    * Port number to access on the container. Must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
    * 
* * int32 port = 1; - * * @return The port. */ @java.lang.Override @@ -84,7 +64,6 @@ public int getPort() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -96,7 +75,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 (port_ != 0) { output.writeInt32(1, port_); } @@ -110,7 +90,8 @@ public int getSerializedSize() { size = 0; if (port_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, port_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, port_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,14 +101,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.run.v2.TCPSocketAction)) { return super.equals(obj); } com.google.cloud.run.v2.TCPSocketAction other = (com.google.cloud.run.v2.TCPSocketAction) obj; - if (getPort() != other.getPort()) return false; + if (getPort() + != other.getPort()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -146,136 +128,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.TCPSocketAction parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.TCPSocketAction parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.TCPSocketAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction 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; } /** - * - * *
    * TCPSocketAction describes an action based on opening a socket
    * 
* * Protobuf type {@code google.cloud.run.v2.TCPSocketAction} */ - 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.run.v2.TCPSocketAction) com.google.cloud.run.v2.TCPSocketActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_TCPSocketAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TCPSocketAction.class, - com.google.cloud.run.v2.TCPSocketAction.Builder.class); + com.google.cloud.run.v2.TCPSocketAction.class, com.google.cloud.run.v2.TCPSocketAction.Builder.class); } // Construct using com.google.cloud.run.v2.TCPSocketAction.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -285,9 +261,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_TCPSocketAction_descriptor; } @java.lang.Override @@ -306,8 +282,7 @@ public com.google.cloud.run.v2.TCPSocketAction build() { @java.lang.Override public com.google.cloud.run.v2.TCPSocketAction buildPartial() { - com.google.cloud.run.v2.TCPSocketAction result = - new com.google.cloud.run.v2.TCPSocketAction(this); + com.google.cloud.run.v2.TCPSocketAction result = new com.google.cloud.run.v2.TCPSocketAction(this); result.port_ = port_; onBuilt(); return result; @@ -317,39 +292,38 @@ public com.google.cloud.run.v2.TCPSocketAction 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.run.v2.TCPSocketAction) { - return mergeFrom((com.google.cloud.run.v2.TCPSocketAction) other); + return mergeFrom((com.google.cloud.run.v2.TCPSocketAction)other); } else { super.mergeFrom(other); return this; @@ -387,19 +361,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - port_ = input.readInt32(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + port_ = input.readInt32(); + + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -410,16 +382,14 @@ public Builder mergeFrom( return this; } - private int port_; + private int port_ ; /** - * - * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; - * * @return The port. */ @java.lang.Override @@ -427,43 +397,39 @@ public int getPort() { return port_; } /** - * - * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; - * * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { - + port_ = value; onChanged(); return this; } /** - * - * *
      * Port number to access on the container. Must be in the range 1 to 65535.
+     * If not specified, defaults to 8080.
      * 
* * int32 port = 1; - * * @return This builder for chaining. */ public Builder clearPort() { - + port_ = 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); } @@ -473,12 +439,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.TCPSocketAction) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.TCPSocketAction) private static final com.google.cloud.run.v2.TCPSocketAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.TCPSocketAction(); } @@ -487,27 +453,27 @@ public static com.google.cloud.run.v2.TCPSocketAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TCPSocketAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TCPSocketAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -522,4 +488,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.TCPSocketAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java new file mode 100644 index 000000000000..334d050d9516 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TCPSocketActionOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/k8s.min.proto + +package com.google.cloud.run.v2; + +public interface TCPSocketActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TCPSocketAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Port number to access on the container. Must be in the range 1 to 65535.
+   * If not specified, defaults to 8080.
+   * 
+ * + * int32 port = 1; + * @return The port. + */ + int getPort(); +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java index 9b6a2e431d07..26687ade2529 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Task.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/run/v2/task.proto package com.google.cloud.run.v2; /** - * - * *
  * Task represents a single run of a container to completion.
  * 
* * Protobuf type {@code google.cloud.run.v2.Task} */ -public final class Task extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Task extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Task) TaskOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Task.newBuilder() to construct. private Task(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Task() { name_ = ""; uid_ = ""; @@ -53,37 +35,39 @@ private Task() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Task(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_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 internalGetLabels(); case 5: return internalGetAnnotations(); 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.run.v2.TaskProto - .internal_static_google_cloud_run_v2_Task_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.Task.class, com.google.cloud.run.v2.Task.Builder.class); } @@ -91,14 +75,11 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The unique name of this Task.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -107,29 +88,29 @@ 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; } } /** - * - * *
    * Output only. The unique name of this Task.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -140,15 +121,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int UID_FIELD_NUMBER = 2; private volatile java.lang.Object uid_; /** - * - * *
    * Output only. Server assigned unique identifier for the Task. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ @java.lang.Override @@ -157,30 +135,30 @@ public java.lang.String getUid() { 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(); uid_ = s; return s; } } /** - * - * *
    * Output only. Server assigned unique identifier for the Task. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ @java.lang.Override - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -191,15 +169,12 @@ public com.google.protobuf.ByteString getUidBytes() { public static final int GENERATION_FIELD_NUMBER = 3; private long generation_; /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -208,23 +183,24 @@ public long getGeneration() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_Task_LabelsEntry_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.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -233,8 +209,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -249,22 +223,22 @@ public int getLabelsCount() {
    *
    * map<string, string> labels = 4;
    */
+
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -280,12 +254,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -301,16 +274,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -326,11 +299,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -338,24 +312,24 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   }
 
   public static final int ANNOTATIONS_FIELD_NUMBER = 5;
-
   private static final class AnnotationsDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry defaultEntry =
-        com.google.protobuf.MapEntry.newDefaultInstance(
-            com.google.cloud.run.v2.TaskProto
-                .internal_static_google_cloud_run_v2_Task_AnnotationsEntry_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.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "");
   }
-
-  private com.google.protobuf.MapField annotations_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, java.lang.String> annotations_;
   private com.google.protobuf.MapField
-      internalGetAnnotations() {
+  internalGetAnnotations() {
     if (annotations_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          AnnotationsDefaultEntryHolder.defaultEntry);
     }
     return annotations_;
   }
@@ -364,30 +338,28 @@ public int getAnnotationsCount() {
     return internalGetAnnotations().getMap().size();
   }
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -395,12 +367,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -408,17 +379,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -426,11 +396,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -440,17 +411,13 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -458,17 +425,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -476,16 +439,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -495,17 +455,13 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 27; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -513,17 +469,13 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -531,16 +483,13 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -550,17 +499,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int COMPLETION_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp completionTime_; /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ @java.lang.Override @@ -568,36 +512,25 @@ public boolean hasCompletionTime() { return completionTime_ != null; } /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCompletionTime() { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { @@ -607,15 +540,11 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ @java.lang.Override @@ -623,15 +552,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ @java.lang.Override @@ -639,14 +564,11 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -656,16 +578,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -673,16 +591,12 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ @java.lang.Override @@ -690,15 +604,12 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { @@ -708,17 +619,13 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { public static final int EXPIRE_TIME_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -726,17 +633,13 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ @java.lang.Override @@ -744,16 +647,13 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -763,16 +663,11 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int JOB_FIELD_NUMBER = 12; private volatile java.lang.Object job_; /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ @java.lang.Override @@ -781,31 +676,29 @@ public java.lang.String getJob() { 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(); job_ = s; return s; } } /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ @java.lang.Override - public com.google.protobuf.ByteString getJobBytes() { + public com.google.protobuf.ByteString + getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -816,16 +709,11 @@ public com.google.protobuf.ByteString getJobBytes() { public static final int EXECUTION_FIELD_NUMBER = 13; private volatile java.lang.Object execution_; /** - * - * *
    * Output only. The name of the parent Execution.
    * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The execution. */ @java.lang.Override @@ -834,31 +722,29 @@ public java.lang.String getExecution() { 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(); execution_ = s; return s; } } /** - * - * *
    * Output only. The name of the parent Execution.
    * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for execution. */ @java.lang.Override - public com.google.protobuf.ByteString getExecutionBytes() { + public com.google.protobuf.ByteString + getExecutionBytes() { java.lang.Object ref = execution_; 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); execution_ = b; return b; } else { @@ -869,8 +755,6 @@ public com.google.protobuf.ByteString getExecutionBytes() { public static final int CONTAINERS_FIELD_NUMBER = 14; private java.util.List containers_; /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -883,8 +767,6 @@ public java.util.List getContainersList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -893,13 +775,11 @@ public java.util.List getContainersList() {
    * repeated .google.cloud.run.v2.Container containers = 14;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContainersOrBuilderList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -912,8 +792,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -926,8 +804,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
     return containers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -936,15 +812,14 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
    * repeated .google.cloud.run.v2.Container containers = 14;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index) {
     return containers_.get(index);
   }
 
   public static final int VOLUMES_FIELD_NUMBER = 15;
   private java.util.List volumes_;
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
@@ -956,8 +831,6 @@ public java.util.List getVolumesList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -965,13 +838,11 @@ public java.util.List getVolumesList() { * repeated .google.cloud.run.v2.Volume volumes = 15; */ @java.lang.Override - public java.util.List + public java.util.List getVolumesOrBuilderList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -983,8 +854,6 @@ public int getVolumesCount() { return volumes_.size(); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -996,8 +865,6 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { return volumes_.get(index); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -1005,21 +872,19 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { * repeated .google.cloud.run.v2.Volume volumes = 15; */ @java.lang.Override - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { return volumes_.get(index); } public static final int MAX_RETRIES_FIELD_NUMBER = 16; private int maxRetries_; /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 16; - * * @return The maxRetries. */ @java.lang.Override @@ -1030,8 +895,6 @@ public int getMaxRetries() { public static final int TIMEOUT_FIELD_NUMBER = 17; private com.google.protobuf.Duration timeout_; /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -1039,7 +902,6 @@ public int getMaxRetries() {
    * 
* * .google.protobuf.Duration timeout = 17; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -1047,8 +909,6 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -1056,7 +916,6 @@ public boolean hasTimeout() {
    * 
* * .google.protobuf.Duration timeout = 17; - * * @return The timeout. */ @java.lang.Override @@ -1064,8 +923,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -1082,8 +939,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
   public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 18;
   private volatile java.lang.Object serviceAccount_;
   /**
-   *
-   *
    * 
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -1092,7 +947,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * 
* * string service_account = 18; - * * @return The serviceAccount. */ @java.lang.Override @@ -1101,15 +955,14 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -1118,15 +971,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 18; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -1137,44 +991,33 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int EXECUTION_ENVIRONMENT_FIELD_NUMBER = 20; private int executionEnvironment_; /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ - @java.lang.Override - public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { + @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } public static final int RECONCILING_FIELD_NUMBER = 21; private boolean reconciling_; /** - * - * *
    * Output only. Indicates whether the resource's reconciliation is still in progress.
    * See comments in `Job.reconciling` for additional information on
@@ -1182,7 +1025,6 @@ public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() {
    * 
* * bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -1193,99 +1035,77 @@ public boolean getReconciling() { public static final int CONDITIONS_FIELD_NUMBER = 22; private java.util.List conditions_; /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getConditionsList() { return conditions_; } /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getConditionsOrBuilderList() { return conditions_; } /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getConditionsCount() { return conditions_.size(); } /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.Condition getConditions(int index) { return conditions_.get(index); } /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { return conditions_.get(index); } public static final int OBSERVED_GENERATION_FIELD_NUMBER = 23; private long observedGeneration_; /** - * - * *
    * Output only. The generation of this Task. See comments in `Job.reconciling`
    * for additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -1296,14 +1116,11 @@ public long getObservedGeneration() { public static final int INDEX_FIELD_NUMBER = 24; private int index_; /** - * - * *
    * Output only. Index of the Task, unique per execution, and beginning at 0.
    * 
* * int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The index. */ @java.lang.Override @@ -1314,15 +1131,12 @@ public int getIndex() { public static final int RETRIED_FIELD_NUMBER = 25; private int retried_; /** - * - * *
    * Output only. The number of times this Task was retried.
    * Tasks are retried when they fail up to the maxRetries limit.
    * 
* * int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retried. */ @java.lang.Override @@ -1333,16 +1147,11 @@ public int getRetried() { public static final int LAST_ATTEMPT_RESULT_FIELD_NUMBER = 26; private com.google.cloud.run.v2.TaskAttemptResult lastAttemptResult_; /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastAttemptResult field is set. */ @java.lang.Override @@ -1350,34 +1159,23 @@ public boolean hasLastAttemptResult() { return lastAttemptResult_ != null; } /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastAttemptResult. */ @java.lang.Override public com.google.cloud.run.v2.TaskAttemptResult getLastAttemptResult() { - return lastAttemptResult_ == null - ? com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() - : lastAttemptResult_; + return lastAttemptResult_ == null ? com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() : lastAttemptResult_; } /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.TaskAttemptResultOrBuilder getLastAttemptResultOrBuilder() { @@ -1387,18 +1185,13 @@ public com.google.cloud.run.v2.TaskAttemptResultOrBuilder getLastAttemptResultOr public static final int ENCRYPTION_KEY_FIELD_NUMBER = 28; private volatile java.lang.Object encryptionKey_; /** - * - * *
    * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
    * https://cloud.google.com/run/docs/securing/using-cmek
    * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The encryptionKey. */ @java.lang.Override @@ -1407,33 +1200,31 @@ public java.lang.String getEncryptionKey() { 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(); encryptionKey_ = s; return s; } } /** - * - * *
    * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
    * https://cloud.google.com/run/docs/securing/using-cmek
    * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for encryptionKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -1444,17 +1235,12 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { public static final int VPC_ACCESS_FIELD_NUMBER = 29; private com.google.cloud.run.v2.VpcAccess vpcAccess_; /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the vpcAccess field is set. */ @java.lang.Override @@ -1462,17 +1248,12 @@ public boolean hasVpcAccess() { return vpcAccess_ != null; } /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The vpcAccess. */ @java.lang.Override @@ -1480,16 +1261,12 @@ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() { @@ -1499,15 +1276,12 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() { public static final int ETAG_FIELD_NUMBER = 99; private volatile java.lang.Object etag_; /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ @java.lang.Override @@ -1516,30 +1290,30 @@ public java.lang.String getEtag() { 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(); etag_ = s; return s; } } /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -1548,7 +1322,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1560,7 +1333,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_); } @@ -1570,10 +1344,18 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (generation_ != 0L) { output.writeInt64(3, generation_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetAnnotations(), AnnotationsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAnnotations(), + AnnotationsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(6, getCreateTime()); } @@ -1610,9 +1392,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, serviceAccount_); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { output.writeEnum(20, executionEnvironment_); } if (reconciling_ != false) { @@ -1661,42 +1441,48 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uid_); } if (generation_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, generation_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); - } - for (java.util.Map.Entry entry : - internalGetAnnotations().getMap().entrySet()) { - com.google.protobuf.MapEntry annotations__ = - AnnotationsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, annotations__); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, generation_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, labels__); + } + for (java.util.Map.Entry entry + : internalGetAnnotations().getMap().entrySet()) { + com.google.protobuf.MapEntry + annotations__ = AnnotationsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, annotations__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } if (completionTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCompletionTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCompletionTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getUpdateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getDeleteTime()); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(job_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, job_); @@ -1705,51 +1491,62 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, execution_); } for (int i = 0; i < containers_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, containers_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, containers_.get(i)); } for (int i = 0; i < volumes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, volumes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, volumes_.get(i)); } if (maxRetries_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(16, maxRetries_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(16, maxRetries_); } if (timeout_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getTimeout()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(17, getTimeout()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, serviceAccount_); } - if (executionEnvironment_ - != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, executionEnvironment_); + if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(20, executionEnvironment_); } if (reconciling_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, reconciling_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(21, reconciling_); } for (int i = 0; i < conditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, conditions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(22, conditions_.get(i)); } if (observedGeneration_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(23, observedGeneration_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(23, observedGeneration_); } if (index_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(24, index_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(24, index_); } if (retried_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(25, retried_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(25, retried_); } if (lastAttemptResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(26, getLastAttemptResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(26, getLastAttemptResult()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(27, getStartTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, encryptionKey_); } if (vpcAccess_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getVpcAccess()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(29, getVpcAccess()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(etag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(99, etag_); @@ -1762,68 +1559,95 @@ 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.run.v2.Task)) { return super.equals(obj); } com.google.cloud.run.v2.Task other = (com.google.cloud.run.v2.Task) obj; - if (!getName().equals(other.getName())) return false; - if (!getUid().equals(other.getUid())) return false; - if (getGeneration() != other.getGeneration()) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; - if (!internalGetAnnotations().equals(other.internalGetAnnotations())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getUid() + .equals(other.getUid())) return false; + if (getGeneration() + != other.getGeneration()) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (!internalGetAnnotations().equals( + other.internalGetAnnotations())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasCompletionTime() != other.hasCompletionTime()) return false; if (hasCompletionTime()) { - if (!getCompletionTime().equals(other.getCompletionTime())) return false; + if (!getCompletionTime() + .equals(other.getCompletionTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime().equals(other.getUpdateTime())) return false; + if (!getUpdateTime() + .equals(other.getUpdateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; - } - if (!getJob().equals(other.getJob())) return false; - if (!getExecution().equals(other.getExecution())) return false; - if (!getContainersList().equals(other.getContainersList())) return false; - if (!getVolumesList().equals(other.getVolumesList())) return false; - if (getMaxRetries() != other.getMaxRetries()) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; + } + if (!getJob() + .equals(other.getJob())) return false; + if (!getExecution() + .equals(other.getExecution())) return false; + if (!getContainersList() + .equals(other.getContainersList())) return false; + if (!getVolumesList() + .equals(other.getVolumesList())) return false; + if (getMaxRetries() + != other.getMaxRetries()) return false; if (hasTimeout() != other.hasTimeout()) return false; if (hasTimeout()) { - if (!getTimeout().equals(other.getTimeout())) return false; + if (!getTimeout() + .equals(other.getTimeout())) return false; } - if (!getServiceAccount().equals(other.getServiceAccount())) return false; + if (!getServiceAccount() + .equals(other.getServiceAccount())) return false; if (executionEnvironment_ != other.executionEnvironment_) return false; - if (getReconciling() != other.getReconciling()) return false; - if (!getConditionsList().equals(other.getConditionsList())) return false; - if (getObservedGeneration() != other.getObservedGeneration()) return false; - if (getIndex() != other.getIndex()) return false; - if (getRetried() != other.getRetried()) return false; + if (getReconciling() + != other.getReconciling()) return false; + if (!getConditionsList() + .equals(other.getConditionsList())) return false; + if (getObservedGeneration() + != other.getObservedGeneration()) return false; + if (getIndex() + != other.getIndex()) return false; + if (getRetried() + != other.getRetried()) return false; if (hasLastAttemptResult() != other.hasLastAttemptResult()) return false; if (hasLastAttemptResult()) { - if (!getLastAttemptResult().equals(other.getLastAttemptResult())) return false; + if (!getLastAttemptResult() + .equals(other.getLastAttemptResult())) return false; } - if (!getEncryptionKey().equals(other.getEncryptionKey())) return false; + if (!getEncryptionKey() + .equals(other.getEncryptionKey())) return false; if (hasVpcAccess() != other.hasVpcAccess()) return false; if (hasVpcAccess()) { - if (!getVpcAccess().equals(other.getVpcAccess())) return false; + if (!getVpcAccess() + .equals(other.getVpcAccess())) return false; } - if (!getEtag().equals(other.getEtag())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1840,7 +1664,8 @@ public int hashCode() { hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getGeneration()); if (!internalGetLabels().getMap().isEmpty()) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + internalGetLabels().hashCode(); @@ -1896,13 +1721,15 @@ public int hashCode() { hash = (37 * hash) + EXECUTION_ENVIRONMENT_FIELD_NUMBER; hash = (53 * hash) + executionEnvironment_; hash = (37 * hash) + RECONCILING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReconciling()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReconciling()); if (getConditionsCount() > 0) { hash = (37 * hash) + CONDITIONS_FIELD_NUMBER; hash = (53 * hash) + getConditionsList().hashCode(); } hash = (37 * hash) + OBSERVED_GENERATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getObservedGeneration()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getObservedGeneration()); hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex(); hash = (37 * hash) + RETRIED_FIELD_NUMBER; @@ -1924,157 +1751,156 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.Task parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.Task parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Task 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.run.v2.Task parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.Task parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Task 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.run.v2.Task parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.Task 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.run.v2.Task 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.run.v2.Task 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.run.v2.Task 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.run.v2.Task 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.run.v2.Task parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.cloud.run.v2.Task parseFrom( + com.google.protobuf.CodedInputStream 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.run.v2.Task 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.run.v2.Task 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; } /** - * - * *
    * Task represents a single run of a container to completion.
    * 
* * Protobuf type {@code google.cloud.run.v2.Task} */ - 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.run.v2.Task) com.google.cloud.run.v2.TaskOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetLabels(); case 5: return internalGetAnnotations(); 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 internalGetMutableLabels(); case 5: return internalGetMutableAnnotations(); 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.run.v2.TaskProto - .internal_static_google_cloud_run_v2_Task_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.Task.class, com.google.cloud.run.v2.Task.Builder.class); } // Construct using com.google.cloud.run.v2.Task.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2187,7 +2013,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_Task_descriptor; } @@ -2307,39 +2134,38 @@ public com.google.cloud.run.v2.Task 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.run.v2.Task) { - return mergeFrom((com.google.cloud.run.v2.Task) other); + return mergeFrom((com.google.cloud.run.v2.Task)other); } else { super.mergeFrom(other); return this; @@ -2359,8 +2185,10 @@ public Builder mergeFrom(com.google.cloud.run.v2.Task other) { if (other.getGeneration() != 0L) { setGeneration(other.getGeneration()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); - internalGetMutableAnnotations().mergeFrom(other.internalGetAnnotations()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + internalGetMutableAnnotations().mergeFrom( + other.internalGetAnnotations()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2405,10 +2233,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Task other) { containersBuilder_ = null; containers_ = other.containers_; bitField0_ = (bitField0_ & ~0x00000004); - containersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getContainersFieldBuilder() - : null; + containersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getContainersFieldBuilder() : null; } else { containersBuilder_.addAllMessages(other.containers_); } @@ -2432,10 +2259,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Task other) { volumesBuilder_ = null; volumes_ = other.volumes_; bitField0_ = (bitField0_ & ~0x00000008); - volumesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVolumesFieldBuilder() - : null; + volumesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVolumesFieldBuilder() : null; } else { volumesBuilder_.addAllMessages(other.volumes_); } @@ -2475,10 +2301,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.Task other) { conditionsBuilder_ = null; conditions_ = other.conditions_; bitField0_ = (bitField0_ & ~0x00000010); - conditionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getConditionsFieldBuilder() - : null; + conditionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getConditionsFieldBuilder() : null; } else { conditionsBuilder_.addAllMessages(other.conditions_); } @@ -2533,212 +2358,200 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - uid_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - generation_ = input.readInt64(); - - break; - } // case 24 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - break; - } // case 34 - case 42: - { - com.google.protobuf.MapEntry annotations__ = - input.readMessage( - AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableAnnotations() - .getMutableMap() - .put(annotations__.getKey(), annotations__.getValue()); - break; - } // case 42 - case 50: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 50 - case 58: - { - input.readMessage(getCompletionTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 58 - case 66: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 66 - case 74: - { - input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - case 82: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 82 - case 98: - { - job_ = input.readStringRequireUtf8(); - - break; - } // case 98 - case 106: - { - execution_ = input.readStringRequireUtf8(); - - break; - } // case 106 - case 114: - { - com.google.cloud.run.v2.Container m = - input.readMessage( - com.google.cloud.run.v2.Container.parser(), extensionRegistry); - if (containersBuilder_ == null) { - ensureContainersIsMutable(); - containers_.add(m); - } else { - containersBuilder_.addMessage(m); - } - break; - } // case 114 - case 122: - { - com.google.cloud.run.v2.Volume m = - input.readMessage(com.google.cloud.run.v2.Volume.parser(), extensionRegistry); - if (volumesBuilder_ == null) { - ensureVolumesIsMutable(); - volumes_.add(m); - } else { - volumesBuilder_.addMessage(m); - } - break; - } // case 122 - case 128: - { - maxRetries_ = input.readInt32(); - - break; - } // case 128 - case 138: - { - input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 138 - case 146: - { - serviceAccount_ = input.readStringRequireUtf8(); - - break; - } // case 146 - case 160: - { - executionEnvironment_ = input.readEnum(); - - break; - } // case 160 - case 168: - { - reconciling_ = input.readBool(); - - break; - } // case 168 - case 178: - { - com.google.cloud.run.v2.Condition m = - input.readMessage( - com.google.cloud.run.v2.Condition.parser(), extensionRegistry); - if (conditionsBuilder_ == null) { - ensureConditionsIsMutable(); - conditions_.add(m); - } else { - conditionsBuilder_.addMessage(m); - } - break; - } // case 178 - case 184: - { - observedGeneration_ = input.readInt64(); - - break; - } // case 184 - case 192: - { - index_ = input.readInt32(); - - break; - } // case 192 - case 200: - { - retried_ = input.readInt32(); - - break; - } // case 200 - case 210: - { - input.readMessage( - getLastAttemptResultFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 210 - case 218: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 218 - case 226: - { - encryptionKey_ = input.readStringRequireUtf8(); - - break; - } // case 226 - case 234: - { - input.readMessage(getVpcAccessFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 234 - case 794: - { - etag_ = input.readStringRequireUtf8(); - - break; - } // case 794 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + uid_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + generation_ = input.readInt64(); + + break; + } // case 24 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } // case 34 + case 42: { + com.google.protobuf.MapEntry + annotations__ = input.readMessage( + AnnotationsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableAnnotations().getMutableMap().put( + annotations__.getKey(), annotations__.getValue()); + break; + } // case 42 + case 50: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 50 + case 58: { + input.readMessage( + getCompletionTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 58 + case 66: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 66 + case 74: { + input.readMessage( + getDeleteTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + case 82: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 82 + case 98: { + job_ = input.readStringRequireUtf8(); + + break; + } // case 98 + case 106: { + execution_ = input.readStringRequireUtf8(); + + break; + } // case 106 + case 114: { + com.google.cloud.run.v2.Container m = + input.readMessage( + com.google.cloud.run.v2.Container.parser(), + extensionRegistry); + if (containersBuilder_ == null) { + ensureContainersIsMutable(); + containers_.add(m); + } else { + containersBuilder_.addMessage(m); + } + break; + } // case 114 + case 122: { + com.google.cloud.run.v2.Volume m = + input.readMessage( + com.google.cloud.run.v2.Volume.parser(), + extensionRegistry); + if (volumesBuilder_ == null) { + ensureVolumesIsMutable(); + volumes_.add(m); + } else { + volumesBuilder_.addMessage(m); + } + break; + } // case 122 + case 128: { + maxRetries_ = input.readInt32(); + + break; + } // case 128 + case 138: { + input.readMessage( + getTimeoutFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 138 + case 146: { + serviceAccount_ = input.readStringRequireUtf8(); + + break; + } // case 146 + case 160: { + executionEnvironment_ = input.readEnum(); + + break; + } // case 160 + case 168: { + reconciling_ = input.readBool(); + + break; + } // case 168 + case 178: { + com.google.cloud.run.v2.Condition m = + input.readMessage( + com.google.cloud.run.v2.Condition.parser(), + extensionRegistry); + if (conditionsBuilder_ == null) { + ensureConditionsIsMutable(); + conditions_.add(m); + } else { + conditionsBuilder_.addMessage(m); + } + break; + } // case 178 + case 184: { + observedGeneration_ = input.readInt64(); + + break; + } // case 184 + case 192: { + index_ = input.readInt32(); + + break; + } // case 192 + case 200: { + retried_ = input.readInt32(); + + break; + } // case 200 + case 210: { + input.readMessage( + getLastAttemptResultFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 210 + case 218: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 218 + case 226: { + encryptionKey_ = input.readStringRequireUtf8(); + + break; + } // case 226 + case 234: { + input.readMessage( + getVpcAccessFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 234 + case 794: { + etag_ = input.readStringRequireUtf8(); + + break; + } // case 794 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2748,25 +2561,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The unique name of this Task.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2775,21 +2585,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The unique name of this Task.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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 { @@ -2797,61 +2606,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The unique name of this Task.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; } /** - * - * *
      * Output only. The unique name of this Task.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The unique name of this Task.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @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; @@ -2859,21 +2661,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uid_ = ""; /** - * - * *
      * Output only. Server assigned unique identifier for the Task. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; @@ -2882,22 +2682,21 @@ public java.lang.String getUid() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Task. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - public com.google.protobuf.ByteString getUidBytes() { + public com.google.protobuf.ByteString + getUidBytes() { java.lang.Object ref = uid_; 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); uid_ = b; return b; } else { @@ -2905,80 +2704,70 @@ public com.google.protobuf.ByteString getUidBytes() { } } /** - * - * *
      * Output only. Server assigned unique identifier for the Task. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The uid to set. * @return This builder for chaining. */ - public Builder setUid(java.lang.String value) { + public Builder setUid( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uid_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Task. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearUid() { - + uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** - * - * *
      * Output only. Server assigned unique identifier for the Task. The value is a UUID4
      * string and guaranteed to remain unchanged until the resource is deleted.
      * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for uid to set. * @return This builder for chaining. */ - public Builder setUidBytes(com.google.protobuf.ByteString value) { + public Builder setUidBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uid_ = value; onChanged(); return this; } - private long generation_; + private long generation_ ; /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ @java.lang.Override @@ -2986,58 +2775,53 @@ public long getGeneration() { return generation_; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The generation to set. * @return This builder for chaining. */ public Builder setGeneration(long value) { - + generation_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A number that monotonically increases every time the user
      * modifies the desired state.
      * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearGeneration() { - + generation_ = 0L; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -3049,8 +2833,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3065,22 +2847,22 @@ public int getLabelsCount() {
      *
      * map<string, string> labels = 4;
      */
+
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3096,12 +2878,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3117,17 +2898,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3143,11 +2923,12 @@ public java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -3155,12 +2936,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3175,21 +2955,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+    getMutableLabels() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3204,20 +2986,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public Builder putLabels(
+        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");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * KRM-style labels for the resource.
      * User-provided labels are shared with Google's billing system, so they can
@@ -3232,29 +3013,30 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       return this;
     }
 
-    private com.google.protobuf.MapField annotations_;
-
+    private com.google.protobuf.MapField<
+        java.lang.String, java.lang.String> annotations_;
     private com.google.protobuf.MapField
-        internalGetAnnotations() {
+    internalGetAnnotations() {
       if (annotations_ == null) {
         return com.google.protobuf.MapField.emptyMapField(
             AnnotationsDefaultEntryHolder.defaultEntry);
       }
       return annotations_;
     }
-
     private com.google.protobuf.MapField
-        internalGetMutableAnnotations() {
-      onChanged();
-      ;
+    internalGetMutableAnnotations() {
+      onChanged();;
       if (annotations_ == null) {
-        annotations_ =
-            com.google.protobuf.MapField.newMapField(AnnotationsDefaultEntryHolder.defaultEntry);
+        annotations_ = com.google.protobuf.MapField.newMapField(
+            AnnotationsDefaultEntryHolder.defaultEntry);
       }
       if (!annotations_.isMutable()) {
         annotations_ = annotations_.copy();
@@ -3266,30 +3048,28 @@ public int getAnnotationsCount() {
       return internalGetAnnotations().getMap().size();
     }
     /**
-     *
-     *
      * 
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ + @java.lang.Override - public boolean containsAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetAnnotations().getMap().containsKey(key); } - /** Use {@link #getAnnotationsMap()} instead. */ + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getAnnotations() { return getAnnotationsMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3297,12 +3077,11 @@ public java.util.Map getAnnotations() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.util.Map getAnnotationsMap() { return internalGetAnnotations().getMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3310,17 +3089,16 @@ public java.util.Map getAnnotationsMap() { * map<string, string> annotations = 5; */ @java.lang.Override + public java.lang.String getAnnotationsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
@@ -3328,11 +3106,12 @@ public java.lang.String getAnnotationsOrDefault( * map<string, string> annotations = 5; */ @java.lang.Override - public java.lang.String getAnnotationsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetAnnotations().getMap(); + + public java.lang.String getAnnotationsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAnnotations().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3340,124 +3119,108 @@ public java.lang.String getAnnotationsOrThrow(java.lang.String key) { } public Builder clearAnnotations() { - internalGetMutableAnnotations().getMutableMap().clear(); + internalGetMutableAnnotations().getMutableMap() + .clear(); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder removeAnnotations(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableAnnotations().getMutableMap().remove(key); + + public Builder removeAnnotations( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAnnotations().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableAnnotations() { + public java.util.Map + getMutableAnnotations() { return internalGetMutableAnnotations().getMutableMap(); } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAnnotations(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putAnnotations( + 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"); +} - internalGetMutableAnnotations().getMutableMap().put(key, value); + internalGetMutableAnnotations().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * KRM-style annotations for the resource.
      * 
* * map<string, string> annotations = 5; */ - public Builder putAllAnnotations(java.util.Map values) { - internalGetMutableAnnotations().getMutableMap().putAll(values); + + public Builder putAllAnnotations( + java.util.Map values) { + internalGetMutableAnnotations().getMutableMap() + .putAll(values); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3473,19 +3236,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3496,23 +3256,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3524,17 +3280,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3548,70 +3300,54 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. Represents time when the task was created by the job controller.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -3619,41 +3355,28 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -3664,17 +3387,13 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -3690,19 +3409,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); @@ -3713,23 +3429,19 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -3741,17 +3453,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { @@ -3765,68 +3473,54 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Represents time when the task started to run.
      * It is not guaranteed to be set in happens-before order across separate
      * operations.
      * 
* - * - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -3834,61 +3528,42 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp completionTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - completionTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> completionTimeBuilder_; /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ public boolean hasCompletionTime() { return completionTimeBuilder_ != null || completionTime_ != null; } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ public com.google.protobuf.Timestamp getCompletionTime() { if (completionTimeBuilder_ == null) { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } else { return completionTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { if (completionTimeBuilder_ == null) { @@ -3904,18 +3579,15 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCompletionTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (completionTimeBuilder_ == null) { completionTime_ = builderForValue.build(); onChanged(); @@ -3926,24 +3598,18 @@ public Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderFo return this; } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { if (completionTimeBuilder_ == null) { if (completionTime_ != null) { completionTime_ = - com.google.protobuf.Timestamp.newBuilder(completionTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(completionTime_).mergeFrom(value).buildPartial(); } else { completionTime_ = value; } @@ -3955,16 +3621,12 @@ public Builder mergeCompletionTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCompletionTime() { if (completionTimeBuilder_ == null) { @@ -3978,67 +3640,51 @@ public Builder clearCompletionTime() { return this; } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder() { - + onChanged(); return getCompletionTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { if (completionTimeBuilder_ != null) { return completionTimeBuilder_.getMessageOrBuilder(); } else { - return completionTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : completionTime_; + return completionTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : completionTime_; } } /** - * - * *
      * Output only. Represents time when the Task was completed. It is not guaranteed to
      * be set in happens-before order across separate operations.
      * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getCompletionTimeFieldBuilder() { if (completionTimeBuilder_ == null) { - completionTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCompletionTime(), getParentForChildren(), isClean()); + completionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCompletionTime(), + getParentForChildren(), + isClean()); completionTime_ = null; } return completionTimeBuilder_; @@ -4046,58 +3692,39 @@ public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -4113,17 +3740,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -4134,21 +3758,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -4160,15 +3780,11 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -4182,64 +3798,48 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : updateTime_; + return updateTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** - * - * *
      * Output only. The last-modified time.
      * 
* - * - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), getParentForChildren(), isClean()); + updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), + getParentForChildren(), + isClean()); updateTime_ = null; } return updateTimeBuilder_; @@ -4247,61 +3847,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { @@ -4317,18 +3898,15 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setDeleteTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (deleteTimeBuilder_ == null) { deleteTime_ = builderForValue.build(); onChanged(); @@ -4339,22 +3917,18 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { if (deleteTimeBuilder_ == null) { if (deleteTime_ != null) { deleteTime_ = - com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial(); } else { deleteTime_ = value; } @@ -4366,16 +3940,12 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearDeleteTime() { if (deleteTimeBuilder_ == null) { @@ -4389,67 +3959,51 @@ public Builder clearDeleteTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { - + onChanged(); return getDeleteTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { if (deleteTimeBuilder_ != null) { return deleteTimeBuilder_.getMessageOrBuilder(); } else { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } } /** - * - * *
      * Output only. For a deleted resource, the deletion time. It is only
      * populated as a response to a Delete request.
      * 
* - * - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getDeleteTimeFieldBuilder() { if (deleteTimeBuilder_ == null) { - deleteTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getDeleteTime(), getParentForChildren(), isClean()); + deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getDeleteTime(), + getParentForChildren(), + isClean()); deleteTime_ = null; } return deleteTimeBuilder_; @@ -4457,64 +4011,45 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -4530,19 +4065,16 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); onChanged(); @@ -4553,23 +4085,19 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { if (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -4581,17 +4109,13 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -4605,70 +4129,54 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Output only. For a deleted resource, the time after which it will be
      * permamently deleted. It is only populated as a response to a Delete
      * request.
      * 
* - * - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -4676,22 +4184,18 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private java.lang.Object job_ = ""; /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ public java.lang.String getJob() { java.lang.Object ref = job_; 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(); job_ = s; return s; @@ -4700,23 +4204,20 @@ public java.lang.String getJob() { } } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ - public com.google.protobuf.ByteString getJobBytes() { + public com.google.protobuf.ByteString + getJobBytes() { java.lang.Object ref = job_; 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); job_ = b; return b; } else { @@ -4724,67 +4225,54 @@ public com.google.protobuf.ByteString getJobBytes() { } } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The job to set. * @return This builder for chaining. */ - public Builder setJob(java.lang.String value) { + public Builder setJob( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + job_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearJob() { - + job_ = getDefaultInstance().getJob(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Job.
      * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for job to set. * @return This builder for chaining. */ - public Builder setJobBytes(com.google.protobuf.ByteString value) { + public Builder setJobBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + job_ = value; onChanged(); return this; @@ -4792,22 +4280,18 @@ public Builder setJobBytes(com.google.protobuf.ByteString value) { private java.lang.Object execution_ = ""; /** - * - * *
      * Output only. The name of the parent Execution.
      * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The execution. */ public java.lang.String getExecution() { java.lang.Object ref = execution_; 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(); execution_ = s; return s; @@ -4816,23 +4300,20 @@ public java.lang.String getExecution() { } } /** - * - * *
      * Output only. The name of the parent Execution.
      * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for execution. */ - public com.google.protobuf.ByteString getExecutionBytes() { + public com.google.protobuf.ByteString + getExecutionBytes() { java.lang.Object ref = execution_; 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); execution_ = b; return b; } else { @@ -4840,91 +4321,72 @@ public com.google.protobuf.ByteString getExecutionBytes() { } } /** - * - * *
      * Output only. The name of the parent Execution.
      * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The execution to set. * @return This builder for chaining. */ - public Builder setExecution(java.lang.String value) { + public Builder setExecution( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + execution_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Execution.
      * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearExecution() { - + execution_ = getDefaultInstance().getExecution(); onChanged(); return this; } /** - * - * *
      * Output only. The name of the parent Execution.
      * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for execution to set. * @return This builder for chaining. */ - public Builder setExecutionBytes(com.google.protobuf.ByteString value) { + public Builder setExecutionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + execution_ = value; onChanged(); return this; } private java.util.List containers_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContainersIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { containers_ = new java.util.ArrayList(containers_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Container, - com.google.cloud.run.v2.Container.Builder, - com.google.cloud.run.v2.ContainerOrBuilder> - containersBuilder_; + com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> containersBuilder_; /** - * - * *
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -4940,8 +4402,6 @@ public java.util.List getContainersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -4957,8 +4417,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -4974,8 +4432,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -4983,7 +4439,8 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public Builder setContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder setContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -4997,8 +4454,6 @@ public Builder setContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5018,8 +4473,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5041,8 +4494,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5050,7 +4501,8 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public Builder addContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder addContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -5064,8 +4516,6 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5073,7 +4523,8 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderForValue) {
+    public Builder addContainers(
+        com.google.cloud.run.v2.Container.Builder builderForValue) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
         containers_.add(builderForValue.build());
@@ -5084,8 +4535,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5105,8 +4554,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5118,7 +4565,8 @@ public Builder addAllContainers(
         java.lang.Iterable values) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, containers_);
         onChanged();
       } else {
         containersBuilder_.addAllMessages(values);
@@ -5126,8 +4574,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5146,8 +4592,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5166,8 +4610,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5175,12 +4617,11 @@ public Builder removeContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index) {
+    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(
+        int index) {
       return getContainersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5188,16 +4629,14 @@ public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+        int index) {
       if (containersBuilder_ == null) {
-        return containers_.get(index);
-      } else {
+        return containers_.get(index);  } else {
         return containersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5205,8 +4644,8 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public java.util.List
-        getContainersOrBuilderList() {
+    public java.util.List 
+         getContainersOrBuilderList() {
       if (containersBuilder_ != null) {
         return containersBuilder_.getMessageOrBuilderList();
       } else {
@@ -5214,8 +4653,6 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5224,12 +4661,10 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
     public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
-      return getContainersFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.Container.getDefaultInstance());
+      return getContainersFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5237,13 +4672,12 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index) {
-      return getContainersFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.Container.getDefaultInstance());
+    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(
+        int index) {
+      return getContainersFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -5251,46 +4685,38 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 14;
      */
-    public java.util.List getContainersBuilderList() {
+    public java.util.List 
+         getContainersBuilderList() {
       return getContainersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Container,
-            com.google.cloud.run.v2.Container.Builder,
-            com.google.cloud.run.v2.ContainerOrBuilder>
+        com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> 
         getContainersFieldBuilder() {
       if (containersBuilder_ == null) {
-        containersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.Container,
-                com.google.cloud.run.v2.Container.Builder,
-                com.google.cloud.run.v2.ContainerOrBuilder>(
-                containers_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder>(
+                containers_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         containers_ = null;
       }
       return containersBuilder_;
     }
 
     private java.util.List volumes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVolumesIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
         volumes_ = new java.util.ArrayList(volumes_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Volume,
-            com.google.cloud.run.v2.Volume.Builder,
-            com.google.cloud.run.v2.VolumeOrBuilder>
-        volumesBuilder_;
+        com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> volumesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of Volumes to make available to containers.
      * 
@@ -5305,8 +4731,6 @@ public java.util.List getVolumesList() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5321,8 +4745,6 @@ public int getVolumesCount() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5337,15 +4759,14 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5359,15 +4780,14 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.set(index, builderForValue.build()); @@ -5378,8 +4798,6 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5400,15 +4818,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5422,15 +4839,14 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(builderForValue.build()); @@ -5441,15 +4857,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(index, builderForValue.build()); @@ -5460,8 +4875,6 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5472,7 +4885,8 @@ public Builder addAllVolumes( java.lang.Iterable values) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, volumes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, volumes_); onChanged(); } else { volumesBuilder_.addAllMessages(values); @@ -5480,8 +4894,6 @@ public Builder addAllVolumes( return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5499,8 +4911,6 @@ public Builder clearVolumes() { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5518,44 +4928,39 @@ public Builder removeVolumes(int index) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder(int index) { + public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder( + int index) { return getVolumesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { if (volumesBuilder_ == null) { - return volumes_.get(index); - } else { + return volumes_.get(index); } else { return volumesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public java.util.List - getVolumesOrBuilderList() { + public java.util.List + getVolumesOrBuilderList() { if (volumesBuilder_ != null) { return volumesBuilder_.getMessageOrBuilderList(); } else { @@ -5563,8 +4968,6 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -5572,62 +4975,54 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { * repeated .google.cloud.run.v2.Volume volumes = 15; */ public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder() { - return getVolumesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Volume.getDefaultInstance()); + return getVolumesFieldBuilder().addBuilder( + com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder(int index) { - return getVolumesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Volume.getDefaultInstance()); + public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder( + int index) { + return getVolumesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - public java.util.List getVolumesBuilderList() { + public java.util.List + getVolumesBuilderList() { return getVolumesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder> + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> getVolumesFieldBuilder() { if (volumesBuilder_ == null) { - volumesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder>( - volumes_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + volumesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder>( + volumes_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); volumes_ = null; } return volumesBuilder_; } - private int maxRetries_; + private int maxRetries_ ; /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 16; - * * @return The maxRetries. */ @java.lang.Override @@ -5635,36 +5030,30 @@ public int getMaxRetries() { return maxRetries_; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 16; - * * @param value The maxRetries to set. * @return This builder for chaining. */ public Builder setMaxRetries(int value) { - + maxRetries_ = value; onChanged(); return this; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 16; - * * @return This builder for chaining. */ public Builder clearMaxRetries() { - + maxRetries_ = 0; onChanged(); return this; @@ -5672,13 +5061,8 @@ public Builder clearMaxRetries() { private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5686,15 +5070,12 @@ public Builder clearMaxRetries() {
      * 
* * .google.protobuf.Duration timeout = 17; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5702,7 +5083,6 @@ public boolean hasTimeout() {
      * 
* * .google.protobuf.Duration timeout = 17; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -5713,8 +5093,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5737,8 +5115,6 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5747,7 +5123,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 17;
      */
-    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
         onChanged();
@@ -5758,8 +5135,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5772,7 +5147,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
         if (timeout_ != null) {
           timeout_ =
-              com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
         } else {
           timeout_ = value;
         }
@@ -5784,8 +5159,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5806,8 +5179,6 @@ public Builder clearTimeout() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5817,13 +5188,11 @@ public Builder clearTimeout() {
      * .google.protobuf.Duration timeout = 17;
      */
     public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
-
+      
       onChanged();
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5836,12 +5205,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -5851,17 +5219,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 17;
      */
     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> 
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeout(), getParentForChildren(), isClean());
+        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeout(),
+                getParentForChildren(),
+                isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
@@ -5869,8 +5234,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
 
     private java.lang.Object serviceAccount_ = "";
     /**
-     *
-     *
      * 
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -5879,13 +5242,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * 
* * string service_account = 18; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -5894,8 +5257,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -5904,14 +5265,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 18; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -5919,8 +5281,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -5929,22 +5289,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 18; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -5953,18 +5311,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 18; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -5973,16 +5328,16 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 18; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -5990,65 +5345,51 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private int executionEnvironment_ = 0; /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @param value The enum numeric value on the wire for executionEnvironment to set. * @return This builder for chaining. */ public Builder setExecutionEnvironmentValue(int value) { - + executionEnvironment_ = value; onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @param value The executionEnvironment to set. * @return This builder for chaining. */ @@ -6056,33 +5397,28 @@ public Builder setExecutionEnvironment(com.google.cloud.run.v2.ExecutionEnvironm if (value == null) { throw new NullPointerException(); } - + executionEnvironment_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return This builder for chaining. */ public Builder clearExecutionEnvironment() { - + executionEnvironment_ = 0; onChanged(); return this; } - private boolean reconciling_; + private boolean reconciling_ ; /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Job.reconciling` for additional information on
@@ -6090,7 +5426,6 @@ public Builder clearExecutionEnvironment() {
      * 
* * bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ @java.lang.Override @@ -6098,8 +5433,6 @@ public boolean getReconciling() { return reconciling_; } /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Job.reconciling` for additional information on
@@ -6107,19 +5440,16 @@ public boolean getReconciling() {
      * 
* * bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The reconciling to set. * @return This builder for chaining. */ public Builder setReconciling(boolean value) { - + reconciling_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Indicates whether the resource's reconciliation is still in progress.
      * See comments in `Job.reconciling` for additional information on
@@ -6127,43 +5457,34 @@ public Builder setReconciling(boolean value) {
      * 
* * bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearReconciling() { - + reconciling_ = false; onChanged(); return this; } private java.util.List conditions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureConditionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { conditions_ = new java.util.ArrayList(conditions_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> - conditionsBuilder_; + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> conditionsBuilder_; /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getConditionsList() { if (conditionsBuilder_ == null) { @@ -6173,16 +5494,12 @@ public java.util.List getConditionsList() { } } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getConditionsCount() { if (conditionsBuilder_ == null) { @@ -6192,16 +5509,12 @@ public int getConditionsCount() { } } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition getConditions(int index) { if (conditionsBuilder_ == null) { @@ -6211,18 +5524,15 @@ public com.google.cloud.run.v2.Condition getConditions(int index) { } } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder setConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6236,16 +5546,12 @@ public Builder setConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6259,16 +5565,12 @@ public Builder setConditions( return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions(com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { @@ -6284,18 +5586,15 @@ public Builder addConditions(com.google.cloud.run.v2.Condition value) { return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) { + public Builder addConditions( + int index, com.google.cloud.run.v2.Condition value) { if (conditionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6309,18 +5608,15 @@ public Builder addConditions(int index, com.google.cloud.run.v2.Condition value) return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderForValue) { + public Builder addConditions( + com.google.cloud.run.v2.Condition.Builder builderForValue) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); conditions_.add(builderForValue.build()); @@ -6331,16 +5627,12 @@ public Builder addConditions(com.google.cloud.run.v2.Condition.Builder builderFo return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addConditions( int index, com.google.cloud.run.v2.Condition.Builder builderForValue) { @@ -6354,22 +5646,19 @@ public Builder addConditions( return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllConditions( java.lang.Iterable values) { if (conditionsBuilder_ == null) { ensureConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, conditions_); onChanged(); } else { conditionsBuilder_.addAllMessages(values); @@ -6377,16 +5666,12 @@ public Builder addAllConditions( return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearConditions() { if (conditionsBuilder_ == null) { @@ -6399,16 +5684,12 @@ public Builder clearConditions() { return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeConditions(int index) { if (conditionsBuilder_ == null) { @@ -6421,53 +5702,42 @@ public Builder removeConditions(int index) { return this; } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder(int index) { + public com.google.cloud.run.v2.Condition.Builder getConditionsBuilder( + int index) { return getConditionsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index) { + public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index) { if (conditionsBuilder_ == null) { - return conditions_.get(index); - } else { + return conditions_.get(index); } else { return conditionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getConditionsOrBuilderList() { + public java.util.List + getConditionsOrBuilderList() { if (conditionsBuilder_ != null) { return conditionsBuilder_.getMessageOrBuilderList(); } else { @@ -6475,81 +5745,65 @@ public com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int ind } } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder() { - return getConditionsFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Condition.getDefaultInstance()); + return getConditionsFieldBuilder().addBuilder( + com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder(int index) { - return getConditionsFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Condition.getDefaultInstance()); + public com.google.cloud.run.v2.Condition.Builder addConditionsBuilder( + int index) { + return getConditionsFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Condition.getDefaultInstance()); } /** - * - * *
      * Output only. The Condition of this Task, containing its readiness status, and
      * detailed error information in case it did not reach the desired state.
      * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List getConditionsBuilderList() { + public java.util.List + getConditionsBuilderList() { return getConditionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder> + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder> getConditionsFieldBuilder() { if (conditionsBuilder_ == null) { - conditionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Condition, - com.google.cloud.run.v2.Condition.Builder, - com.google.cloud.run.v2.ConditionOrBuilder>( - conditions_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + conditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Condition, com.google.cloud.run.v2.Condition.Builder, com.google.cloud.run.v2.ConditionOrBuilder>( + conditions_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); conditions_ = null; } return conditionsBuilder_; } - private long observedGeneration_; + private long observedGeneration_ ; /** - * - * *
      * Output only. The generation of this Task. See comments in `Job.reconciling`
      * for additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ @java.lang.Override @@ -6557,53 +5811,44 @@ public long getObservedGeneration() { return observedGeneration_; } /** - * - * *
      * Output only. The generation of this Task. See comments in `Job.reconciling`
      * for additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The observedGeneration to set. * @return This builder for chaining. */ public Builder setObservedGeneration(long value) { - + observedGeneration_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The generation of this Task. See comments in `Job.reconciling`
      * for additional information on reconciliation process in Cloud Run.
      * 
* * int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearObservedGeneration() { - + observedGeneration_ = 0L; onChanged(); return this; } - private int index_; + private int index_ ; /** - * - * *
      * Output only. Index of the Task, unique per execution, and beginning at 0.
      * 
* * int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The index. */ @java.lang.Override @@ -6611,52 +5856,43 @@ public int getIndex() { return index_; } /** - * - * *
      * Output only. Index of the Task, unique per execution, and beginning at 0.
      * 
* * int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The index to set. * @return This builder for chaining. */ public Builder setIndex(int value) { - + index_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Index of the Task, unique per execution, and beginning at 0.
      * 
* * int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIndex() { - + index_ = 0; onChanged(); return this; } - private int retried_; + private int retried_ ; /** - * - * *
      * Output only. The number of times this Task was retried.
      * Tasks are retried when they fail up to the maxRetries limit.
      * 
* * int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retried. */ @java.lang.Override @@ -6664,38 +5900,32 @@ public int getRetried() { return retried_; } /** - * - * *
      * Output only. The number of times this Task was retried.
      * Tasks are retried when they fail up to the maxRetries limit.
      * 
* * int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The retried to set. * @return This builder for chaining. */ public Builder setRetried(int value) { - + retried_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The number of times this Task was retried.
      * Tasks are retried when they fail up to the maxRetries limit.
      * 
* * int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearRetried() { - + retried_ = 0; onChanged(); return this; @@ -6703,58 +5933,39 @@ public Builder clearRetried() { private com.google.cloud.run.v2.TaskAttemptResult lastAttemptResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskAttemptResult, - com.google.cloud.run.v2.TaskAttemptResult.Builder, - com.google.cloud.run.v2.TaskAttemptResultOrBuilder> - lastAttemptResultBuilder_; + com.google.cloud.run.v2.TaskAttemptResult, com.google.cloud.run.v2.TaskAttemptResult.Builder, com.google.cloud.run.v2.TaskAttemptResultOrBuilder> lastAttemptResultBuilder_; /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastAttemptResult field is set. */ public boolean hasLastAttemptResult() { return lastAttemptResultBuilder_ != null || lastAttemptResult_ != null; } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastAttemptResult. */ public com.google.cloud.run.v2.TaskAttemptResult getLastAttemptResult() { if (lastAttemptResultBuilder_ == null) { - return lastAttemptResult_ == null - ? com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() - : lastAttemptResult_; + return lastAttemptResult_ == null ? com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() : lastAttemptResult_; } else { return lastAttemptResultBuilder_.getMessage(); } } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastAttemptResult(com.google.cloud.run.v2.TaskAttemptResult value) { if (lastAttemptResultBuilder_ == null) { @@ -6770,15 +5981,11 @@ public Builder setLastAttemptResult(com.google.cloud.run.v2.TaskAttemptResult va return this; } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setLastAttemptResult( com.google.cloud.run.v2.TaskAttemptResult.Builder builderForValue) { @@ -6792,23 +5999,17 @@ public Builder setLastAttemptResult( return this; } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeLastAttemptResult(com.google.cloud.run.v2.TaskAttemptResult value) { if (lastAttemptResultBuilder_ == null) { if (lastAttemptResult_ != null) { lastAttemptResult_ = - com.google.cloud.run.v2.TaskAttemptResult.newBuilder(lastAttemptResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.TaskAttemptResult.newBuilder(lastAttemptResult_).mergeFrom(value).buildPartial(); } else { lastAttemptResult_ = value; } @@ -6820,15 +6021,11 @@ public Builder mergeLastAttemptResult(com.google.cloud.run.v2.TaskAttemptResult return this; } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearLastAttemptResult() { if (lastAttemptResultBuilder_ == null) { @@ -6842,64 +6039,48 @@ public Builder clearLastAttemptResult() { return this; } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TaskAttemptResult.Builder getLastAttemptResultBuilder() { - + onChanged(); return getLastAttemptResultFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.TaskAttemptResultOrBuilder getLastAttemptResultOrBuilder() { if (lastAttemptResultBuilder_ != null) { return lastAttemptResultBuilder_.getMessageOrBuilder(); } else { - return lastAttemptResult_ == null - ? com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() - : lastAttemptResult_; + return lastAttemptResult_ == null ? + com.google.cloud.run.v2.TaskAttemptResult.getDefaultInstance() : lastAttemptResult_; } } /** - * - * *
      * Output only. Result of the last attempt of this Task.
      * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskAttemptResult, - com.google.cloud.run.v2.TaskAttemptResult.Builder, - com.google.cloud.run.v2.TaskAttemptResultOrBuilder> + com.google.cloud.run.v2.TaskAttemptResult, com.google.cloud.run.v2.TaskAttemptResult.Builder, com.google.cloud.run.v2.TaskAttemptResultOrBuilder> getLastAttemptResultFieldBuilder() { if (lastAttemptResultBuilder_ == null) { - lastAttemptResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.TaskAttemptResult, - com.google.cloud.run.v2.TaskAttemptResult.Builder, - com.google.cloud.run.v2.TaskAttemptResultOrBuilder>( - getLastAttemptResult(), getParentForChildren(), isClean()); + lastAttemptResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.TaskAttemptResult, com.google.cloud.run.v2.TaskAttemptResult.Builder, com.google.cloud.run.v2.TaskAttemptResultOrBuilder>( + getLastAttemptResult(), + getParentForChildren(), + isClean()); lastAttemptResult_ = null; } return lastAttemptResultBuilder_; @@ -6907,24 +6088,20 @@ public com.google.cloud.run.v2.TaskAttemptResultOrBuilder getLastAttemptResultOr private java.lang.Object encryptionKey_ = ""; /** - * - * *
      * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
      * https://cloud.google.com/run/docs/securing/using-cmek
      * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The encryptionKey. */ public java.lang.String getEncryptionKey() { java.lang.Object ref = encryptionKey_; 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(); encryptionKey_ = s; return s; @@ -6933,25 +6110,22 @@ public java.lang.String getEncryptionKey() { } } /** - * - * *
      * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
      * https://cloud.google.com/run/docs/securing/using-cmek
      * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for encryptionKey. */ - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -6959,73 +6133,60 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { } } /** - * - * *
      * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
      * https://cloud.google.com/run/docs/securing/using-cmek
      * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKey(java.lang.String value) { + public Builder setEncryptionKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encryptionKey_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
      * https://cloud.google.com/run/docs/securing/using-cmek
      * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearEncryptionKey() { - + encryptionKey_ = getDefaultInstance().getEncryptionKey(); onChanged(); return this; } /** - * - * *
      * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
      * https://cloud.google.com/run/docs/securing/using-cmek
      * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { + public Builder setEncryptionKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encryptionKey_ = value; onChanged(); return this; @@ -7033,61 +6194,42 @@ public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.VpcAccess vpcAccess_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder> - vpcAccessBuilder_; + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> vpcAccessBuilder_; /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the vpcAccess field is set. */ public boolean hasVpcAccess() { return vpcAccessBuilder_ != null || vpcAccess_ != null; } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The vpcAccess. */ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { if (vpcAccessBuilder_ == null) { - return vpcAccess_ == null - ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() - : vpcAccess_; + return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } else { return vpcAccessBuilder_.getMessage(); } } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) { if (vpcAccessBuilder_ == null) { @@ -7103,18 +6245,15 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) { return this; } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderForValue) { + public Builder setVpcAccess( + com.google.cloud.run.v2.VpcAccess.Builder builderForValue) { if (vpcAccessBuilder_ == null) { vpcAccess_ = builderForValue.build(); onChanged(); @@ -7125,24 +6264,18 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderFor return this; } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) { if (vpcAccessBuilder_ == null) { if (vpcAccess_ != null) { vpcAccess_ = - com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_).mergeFrom(value).buildPartial(); } else { vpcAccess_ = value; } @@ -7154,16 +6287,12 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) { return this; } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearVpcAccess() { if (vpcAccessBuilder_ == null) { @@ -7177,67 +6306,51 @@ public Builder clearVpcAccess() { return this; } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.VpcAccess.Builder getVpcAccessBuilder() { - + onChanged(); return getVpcAccessFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() { if (vpcAccessBuilder_ != null) { return vpcAccessBuilder_.getMessageOrBuilder(); } else { - return vpcAccess_ == null - ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() - : vpcAccess_; + return vpcAccess_ == null ? + com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } } /** - * - * *
      * Output only. VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder> + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> getVpcAccessFieldBuilder() { if (vpcAccessBuilder_ == null) { - vpcAccessBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder>( - getVpcAccess(), getParentForChildren(), isClean()); + vpcAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder>( + getVpcAccess(), + getParentForChildren(), + isClean()); vpcAccess_ = null; } return vpcAccessBuilder_; @@ -7245,21 +6358,19 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() { private java.lang.Object etag_ = ""; /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; 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(); etag_ = s; return s; @@ -7268,22 +6379,21 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; 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); etag_ = b; return b; } else { @@ -7291,71 +6401,64 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Output only. A system-generated fingerprint for this version of the
      * resource. May be used to detect modification conflict during updates.
      * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = 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); } @@ -7365,12 +6468,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Task) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Task) private static final com.google.cloud.run.v2.Task DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.Task(); } @@ -7379,27 +6482,27 @@ public static com.google.cloud.run.v2.Task getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Task parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Task parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7414,4 +6517,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.Task getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java similarity index 71% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java index 5f75c97c56d6..302b3c73d27b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResult.java @@ -1,82 +1,61 @@ -/* - * 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/run/v2/task.proto package com.google.cloud.run.v2; /** - * - * *
  * Result of a task attempt.
  * 
* * Protobuf type {@code google.cloud.run.v2.TaskAttemptResult} */ -public final class TaskAttemptResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TaskAttemptResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.TaskAttemptResult) TaskAttemptResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TaskAttemptResult.newBuilder() to construct. private TaskAttemptResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TaskAttemptResult() {} + private TaskAttemptResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TaskAttemptResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TaskAttemptResult.class, - com.google.cloud.run.v2.TaskAttemptResult.Builder.class); + com.google.cloud.run.v2.TaskAttemptResult.class, com.google.cloud.run.v2.TaskAttemptResult.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private com.google.rpc.Status status_; /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
    * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the status field is set. */ @java.lang.Override @@ -84,15 +63,12 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
    * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The status. */ @java.lang.Override @@ -100,8 +76,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
@@ -117,8 +91,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
   public static final int EXIT_CODE_FIELD_NUMBER = 2;
   private int exitCode_;
   /**
-   *
-   *
    * 
    * Output only. The exit code of this attempt.
    * This may be unset if the container was unable to exit cleanly with a code
@@ -127,7 +99,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
    * 
* * int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The exitCode. */ @java.lang.Override @@ -136,7 +107,6 @@ public int getExitCode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +118,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 (status_ != null) { output.writeMessage(1, getStatus()); } @@ -165,10 +136,12 @@ public int getSerializedSize() { size = 0; if (status_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStatus()); } if (exitCode_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, exitCode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, exitCode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,19 +151,20 @@ 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.run.v2.TaskAttemptResult)) { return super.equals(obj); } - com.google.cloud.run.v2.TaskAttemptResult other = - (com.google.cloud.run.v2.TaskAttemptResult) obj; + com.google.cloud.run.v2.TaskAttemptResult other = (com.google.cloud.run.v2.TaskAttemptResult) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { - if (!getStatus().equals(other.getStatus())) return false; + if (!getStatus() + .equals(other.getStatus())) return false; } - if (getExitCode() != other.getExitCode()) return false; + if (getExitCode() + != other.getExitCode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,136 +187,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.TaskAttemptResult parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.TaskAttemptResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.TaskAttemptResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult 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; } /** - * - * *
    * Result of a task attempt.
    * 
* * Protobuf type {@code google.cloud.run.v2.TaskAttemptResult} */ - 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.run.v2.TaskAttemptResult) com.google.cloud.run.v2.TaskAttemptResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TaskAttemptResult.class, - com.google.cloud.run.v2.TaskAttemptResult.Builder.class); + com.google.cloud.run.v2.TaskAttemptResult.class, com.google.cloud.run.v2.TaskAttemptResult.Builder.class); } // Construct using com.google.cloud.run.v2.TaskAttemptResult.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -358,9 +326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.TaskProto - .internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.TaskProto.internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; } @java.lang.Override @@ -379,8 +347,7 @@ public com.google.cloud.run.v2.TaskAttemptResult build() { @java.lang.Override public com.google.cloud.run.v2.TaskAttemptResult buildPartial() { - com.google.cloud.run.v2.TaskAttemptResult result = - new com.google.cloud.run.v2.TaskAttemptResult(this); + com.google.cloud.run.v2.TaskAttemptResult result = new com.google.cloud.run.v2.TaskAttemptResult(this); if (statusBuilder_ == null) { result.status_ = status_; } else { @@ -395,39 +362,38 @@ public com.google.cloud.run.v2.TaskAttemptResult 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.run.v2.TaskAttemptResult) { - return mergeFrom((com.google.cloud.run.v2.TaskAttemptResult) other); + return mergeFrom((com.google.cloud.run.v2.TaskAttemptResult)other); } else { super.mergeFrom(other); return this; @@ -468,25 +434,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 16: - { - exitCode_ = input.readInt32(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 16: { + exitCode_ = input.readInt32(); + + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -499,33 +464,26 @@ public Builder mergeFrom( 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 status of this attempt.
      * If the status code is OK, then the attempt succeeded.
      * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
      * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -536,8 +494,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -559,8 +515,6 @@ public Builder setStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -568,7 +522,8 @@ public Builder setStatus(com.google.rpc.Status value) {
      *
      * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
-    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();
@@ -579,8 +534,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -591,7 +544,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;
         }
@@ -603,8 +557,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -624,8 +576,6 @@ public Builder clearStatus() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -634,13 +584,11 @@ public Builder clearStatus() {
      * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     public com.google.rpc.Status.Builder getStatusBuilder() {
-
+      
       onChanged();
       return getStatusFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -652,12 +600,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 status of this attempt.
      * If the status code is OK, then the attempt succeeded.
@@ -666,23 +613,21 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      */
     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_;
     }
 
-    private int exitCode_;
+    private int exitCode_ ;
     /**
-     *
-     *
      * 
      * Output only. The exit code of this attempt.
      * This may be unset if the container was unable to exit cleanly with a code
@@ -691,7 +636,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * 
* * int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The exitCode. */ @java.lang.Override @@ -699,8 +643,6 @@ public int getExitCode() { return exitCode_; } /** - * - * *
      * Output only. The exit code of this attempt.
      * This may be unset if the container was unable to exit cleanly with a code
@@ -709,19 +651,16 @@ public int getExitCode() {
      * 
* * int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The exitCode to set. * @return This builder for chaining. */ public Builder setExitCode(int value) { - + exitCode_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The exit code of this attempt.
      * This may be unset if the container was unable to exit cleanly with a code
@@ -730,18 +669,17 @@ public Builder setExitCode(int value) {
      * 
* * int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearExitCode() { - + exitCode_ = 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); } @@ -751,12 +689,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.TaskAttemptResult) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.TaskAttemptResult) private static final com.google.cloud.run.v2.TaskAttemptResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.TaskAttemptResult(); } @@ -765,27 +703,27 @@ public static com.google.cloud.run.v2.TaskAttemptResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TaskAttemptResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskAttemptResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -800,4 +738,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.TaskAttemptResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java index 780e41b09879..2582b521e527 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskAttemptResultOrBuilder.java @@ -1,57 +1,33 @@ -/* - * 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/run/v2/task.proto package com.google.cloud.run.v2; -public interface TaskAttemptResultOrBuilder - extends +public interface TaskAttemptResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TaskAttemptResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
    * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
    * 
* * .google.rpc.Status status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
    * Output only. The status of this attempt.
    * If the status code is OK, then the attempt succeeded.
@@ -62,8 +38,6 @@ public interface TaskAttemptResultOrBuilder
   com.google.rpc.StatusOrBuilder getStatusOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The exit code of this attempt.
    * This may be unset if the container was unable to exit cleanly with a code
@@ -72,7 +46,6 @@ public interface TaskAttemptResultOrBuilder
    * 
* * int32 exit_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The exitCode. */ int getExitCode(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskName.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskName.java similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskName.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskName.java diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java similarity index 77% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java index 6d7c411acff3..a8baaa32c293 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskOrBuilder.java @@ -1,97 +1,66 @@ -/* - * 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/run/v2/task.proto package com.google.cloud.run.v2; -public interface TaskOrBuilder - extends +public interface TaskOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Task) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The unique name of this Task.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The unique name of this Task.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Server assigned unique identifier for the Task. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The uid. */ java.lang.String getUid(); /** - * - * *
    * Output only. Server assigned unique identifier for the Task. The value is a UUID4
    * string and guaranteed to remain unchanged until the resource is deleted.
    * 
* * string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for uid. */ - com.google.protobuf.ByteString getUidBytes(); + com.google.protobuf.ByteString + getUidBytes(); /** - * - * *
    * Output only. A number that monotonically increases every time the user
    * modifies the desired state.
    * 
* * int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The generation. */ long getGeneration(); /** - * - * *
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -108,8 +77,6 @@ public interface TaskOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -124,13 +91,15 @@ public interface TaskOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -145,10 +114,9 @@ public interface TaskOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -165,13 +133,11 @@ public interface TaskOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * KRM-style labels for the resource.
    * User-provided labels are shared with Google's billing system, so they can
@@ -186,11 +152,11 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * KRM-style annotations for the resource.
    * 
@@ -199,31 +165,30 @@ java.lang.String getLabelsOrDefault( */ int getAnnotationsCount(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - boolean containsAnnotations(java.lang.String key); - /** Use {@link #getAnnotationsMap()} instead. */ + boolean containsAnnotations( + java.lang.String key); + /** + * Use {@link #getAnnotationsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getAnnotations(); + java.util.Map + getAnnotations(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.util.Map getAnnotationsMap(); + java.util.Map + getAnnotationsMap(); /** - * - * *
    * KRM-style annotations for the resource.
    * 
@@ -232,337 +197,248 @@ java.lang.String getLabelsOrDefault( */ /* nullable */ - java.lang.String getAnnotationsOrDefault( +java.lang.String getAnnotationsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * KRM-style annotations for the resource.
    * 
* * map<string, string> annotations = 5; */ - java.lang.String getAnnotationsOrThrow(java.lang.String key); + + java.lang.String getAnnotationsOrThrow( + java.lang.String key); /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. Represents time when the task was created by the job controller.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Represents time when the task started to run.
    * It is not guaranteed to be set in happens-before order across separate
    * operations.
    * 
* - * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the completionTime field is set. */ boolean hasCompletionTime(); /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The completionTime. */ com.google.protobuf.Timestamp getCompletionTime(); /** - * - * *
    * Output only. Represents time when the Task was completed. It is not guaranteed to
    * be set in happens-before order across separate operations.
    * 
* - * - * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * Output only. The last-modified time.
    * 
* - * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. For a deleted resource, the deletion time. It is only
    * populated as a response to a Delete request.
    * 
* - * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Output only. For a deleted resource, the time after which it will be
    * permamently deleted. It is only populated as a response to a Delete
    * request.
    * 
* - * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The job. */ java.lang.String getJob(); /** - * - * *
    * Output only. The name of the parent Job.
    * 
* - * - * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for job. */ - com.google.protobuf.ByteString getJobBytes(); + com.google.protobuf.ByteString + getJobBytes(); /** - * - * *
    * Output only. The name of the parent Execution.
    * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The execution. */ java.lang.String getExecution(); /** - * - * *
    * Output only. The name of the parent Execution.
    * 
* - * - * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for execution. */ - com.google.protobuf.ByteString getExecutionBytes(); + com.google.protobuf.ByteString + getExecutionBytes(); /** - * - * *
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -570,10 +446,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 14;
    */
-  java.util.List getContainersList();
+  java.util.List 
+      getContainersList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -583,8 +458,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   com.google.cloud.run.v2.Container getContainers(int index);
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -594,8 +467,6 @@ java.lang.String getAnnotationsOrDefault(
    */
   int getContainersCount();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -603,10 +474,9 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 14;
    */
-  java.util.List getContainersOrBuilderList();
+  java.util.List 
+      getContainersOrBuilderList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -614,21 +484,19 @@ java.lang.String getAnnotationsOrDefault(
    *
    * repeated .google.cloud.run.v2.Container containers = 14;
    */
-  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index);
+  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - java.util.List getVolumesList(); + java.util.List + getVolumesList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -637,8 +505,6 @@ java.lang.String getAnnotationsOrDefault( */ com.google.cloud.run.v2.Volume getVolumes(int index); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -647,42 +513,35 @@ java.lang.String getAnnotationsOrDefault( */ int getVolumesCount(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - java.util.List getVolumesOrBuilderList(); + java.util.List + getVolumesOrBuilderList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 15; */ - com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index); + com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index); /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 16; - * * @return The maxRetries. */ int getMaxRetries(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -690,13 +549,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.protobuf.Duration timeout = 17; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -704,13 +560,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * .google.protobuf.Duration timeout = 17; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -722,8 +575,6 @@ java.lang.String getAnnotationsOrDefault(
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
-   *
-   *
    * 
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -732,13 +583,10 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 18; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -747,39 +595,31 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * string service_account = 18; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The enum numeric value on the wire for executionEnvironment. */ int getExecutionEnvironmentValue(); /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; - * * @return The executionEnvironment. */ com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment(); /** - * - * *
    * Output only. Indicates whether the resource's reconciliation is still in progress.
    * See comments in `Job.reconciling` for additional information on
@@ -787,260 +627,191 @@ java.lang.String getAnnotationsOrDefault(
    * 
* * bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The reconciling. */ boolean getReconciling(); /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsList(); + java.util.List + getConditionsList(); /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.Condition getConditions(int index); /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getConditionsCount(); /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getConditionsOrBuilderList(); + java.util.List + getConditionsOrBuilderList(); /** - * - * *
    * Output only. The Condition of this Task, containing its readiness status, and
    * detailed error information in case it did not reach the desired state.
    * 
* - * - * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder(int index); + com.google.cloud.run.v2.ConditionOrBuilder getConditionsOrBuilder( + int index); /** - * - * *
    * Output only. The generation of this Task. See comments in `Job.reconciling`
    * for additional information on reconciliation process in Cloud Run.
    * 
* * int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The observedGeneration. */ long getObservedGeneration(); /** - * - * *
    * Output only. Index of the Task, unique per execution, and beginning at 0.
    * 
* * int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The index. */ int getIndex(); /** - * - * *
    * Output only. The number of times this Task was retried.
    * Tasks are retried when they fail up to the maxRetries limit.
    * 
* * int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The retried. */ int getRetried(); /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the lastAttemptResult field is set. */ boolean hasLastAttemptResult(); /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The lastAttemptResult. */ com.google.cloud.run.v2.TaskAttemptResult getLastAttemptResult(); /** - * - * *
    * Output only. Result of the last attempt of this Task.
    * 
* - * - * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.TaskAttemptResultOrBuilder getLastAttemptResultOrBuilder(); /** - * - * *
    * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
    * https://cloud.google.com/run/docs/securing/using-cmek
    * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The encryptionKey. */ java.lang.String getEncryptionKey(); /** - * - * *
    * Output only. A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
    * https://cloud.google.com/run/docs/securing/using-cmek
    * 
* - * - * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for encryptionKey. */ - com.google.protobuf.ByteString getEncryptionKeyBytes(); + com.google.protobuf.ByteString + getEncryptionKeyBytes(); /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the vpcAccess field is set. */ boolean hasVpcAccess(); /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The vpcAccess. */ com.google.cloud.run.v2.VpcAccess getVpcAccess(); /** - * - * *
    * Output only. VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* - * - * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Output only. A system-generated fingerprint for this version of the
    * resource. May be used to detect modification conflict during updates.
    * 
* * string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java new file mode 100644 index 000000000000..f4390fa13950 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskProto.java @@ -0,0 +1,211 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/task.proto + +package com.google.cloud.run.v2; + +public final class TaskProto { + private TaskProto() {} + 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_run_v2_GetTaskRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListTasksRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_ListTasksResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Task_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Task_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_TaskAttemptResult_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\036google/cloud/run/v2/task.proto\022\023google" + + ".cloud.run.v2\032\034google/api/annotations.pr" + + "oto\032\027google/api/client.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032#google/cloud/run/v2/condition." + + "proto\032!google/cloud/run/v2/k8s.min.proto" + + "\032)google/cloud/run/v2/vendor_settings.pr" + + "oto\032\036google/protobuf/duration.proto\032\037goo" + + "gle/protobuf/timestamp.proto\032\027google/rpc" + + "/status.proto\"?\n\016GetTaskRequest\022-\n\004name\030" + + "\001 \001(\tB\037\340A\002\372A\031\n\027run.googleapis.com/Task\"\200" + + "\001\n\020ListTasksRequest\022/\n\006parent\030\001 \001(\tB\037\340A\002" + + "\372A\031\022\027run.googleapis.com/Task\022\021\n\tpage_siz" + + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\024\n\014show_dele" + + "ted\030\004 \001(\010\"V\n\021ListTasksResponse\022(\n\005tasks\030" + + "\001 \003(\0132\031.google.cloud.run.v2.Task\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\303\013\n\004Task\022\021\n\004name\030\001 \001(\t" + + "B\003\340A\003\022\020\n\003uid\030\002 \001(\tB\003\340A\003\022\027\n\ngeneration\030\003 " + + "\001(\003B\003\340A\003\0225\n\006labels\030\004 \003(\0132%.google.cloud." + + "run.v2.Task.LabelsEntry\022?\n\013annotations\030\005" + + " \003(\0132*.google.cloud.run.v2.Task.Annotati" + + "onsEntry\0224\n\013create_time\030\006 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\0223\n\nstart_time\030\033 \001" + + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0228\n\017c" + + "ompletion_time\030\007 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0224\n\013update_time\030\010 \001(\0132\032.goo" + + "gle.protobuf.TimestampB\003\340A\003\0224\n\013delete_ti" + + "me\030\t \001(\0132\032.google.protobuf.TimestampB\003\340A" + + "\003\0224\n\013expire_time\030\n \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\022+\n\003job\030\014 \001(\tB\036\340A\003\372A\030\n\026ru" + + "n.googleapis.com/Job\0227\n\texecution\030\r \001(\tB" + + "$\340A\003\372A\036\n\034run.googleapis.com/Execution\0222\n" + + "\ncontainers\030\016 \003(\0132\036.google.cloud.run.v2." + + "Container\022,\n\007volumes\030\017 \003(\0132\033.google.clou" + + "d.run.v2.Volume\022\023\n\013max_retries\030\020 \001(\005\022*\n\007" + + "timeout\030\021 \001(\0132\031.google.protobuf.Duration" + + "\022\027\n\017service_account\030\022 \001(\t\022H\n\025execution_e" + + "nvironment\030\024 \001(\0162).google.cloud.run.v2.E" + + "xecutionEnvironment\022\030\n\013reconciling\030\025 \001(\010" + + "B\003\340A\003\0227\n\nconditions\030\026 \003(\0132\036.google.cloud" + + ".run.v2.ConditionB\003\340A\003\022 \n\023observed_gener" + + "ation\030\027 \001(\003B\003\340A\003\022\022\n\005index\030\030 \001(\005B\003\340A\003\022\024\n\007" + + "retried\030\031 \001(\005B\003\340A\003\022H\n\023last_attempt_resul" + + "t\030\032 \001(\0132&.google.cloud.run.v2.TaskAttemp" + + "tResultB\003\340A\003\022A\n\016encryption_key\030\034 \001(\tB)\340A" + + "\003\372A#\n!cloudkms.googleapis.com/CryptoKey\022" + + "7\n\nvpc_access\030\035 \001(\0132\036.google.cloud.run.v" + + "2.VpcAccessB\003\340A\003\022\021\n\004etag\030c \001(\tB\003\340A\003\032-\n\013L" + + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + + "8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001:w\352At\n\027run.googleapis.com/" + + "Task\022Vprojects/{project}/locations/{loca" + + "tion}/jobs/{job}/executions/{execution}/" + + "tasks/{task}R\001\001\"T\n\021TaskAttemptResult\022\'\n\006" + + "status\030\001 \001(\0132\022.google.rpc.StatusB\003\340A\003\022\026\n" + + "\texit_code\030\002 \001(\005B\003\340A\0032\226\003\n\005Tasks\022\227\001\n\007GetT" + + "ask\022#.google.cloud.run.v2.GetTaskRequest" + + "\032\031.google.cloud.run.v2.Task\"L\202\323\344\223\002?\022=/v2" + + "/{name=projects/*/locations/*/jobs/*/exe" + + "cutions/*/tasks/*}\332A\004name\022\252\001\n\tListTasks\022" + + "%.google.cloud.run.v2.ListTasksRequest\032&" + + ".google.cloud.run.v2.ListTasksResponse\"N" + + "\202\323\344\223\002?\022=/v2/{parent=projects/*/locations" + + "/*/jobs/*/executions/*}/tasks\332A\006parent\032F" + + "\312A\022run.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformB^\n\027com.go" + + "ogle.cloud.run.v2B\tTaskProtoP\001Z6google.g" + + "olang.org/genproto/googleapis/cloud/run/" + + "v2;runb\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.run.v2.ConditionProto.getDescriptor(), + com.google.cloud.run.v2.K8sMinProto.getDescriptor(), + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_GetTaskRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_GetTaskRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_GetTaskRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_run_v2_ListTasksRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_ListTasksRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListTasksRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "ShowDeleted", }); + internal_static_google_cloud_run_v2_ListTasksResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_ListTasksResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_ListTasksResponse_descriptor, + new java.lang.String[] { "Tasks", "NextPageToken", }); + internal_static_google_cloud_run_v2_Task_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_run_v2_Task_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Task_descriptor, + new java.lang.String[] { "Name", "Uid", "Generation", "Labels", "Annotations", "CreateTime", "StartTime", "CompletionTime", "UpdateTime", "DeleteTime", "ExpireTime", "Job", "Execution", "Containers", "Volumes", "MaxRetries", "Timeout", "ServiceAccount", "ExecutionEnvironment", "Reconciling", "Conditions", "ObservedGeneration", "Index", "Retried", "LastAttemptResult", "EncryptionKey", "VpcAccess", "Etag", }); + internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor = + internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_run_v2_Task_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Task_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor = + internal_static_google_cloud_run_v2_Task_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_run_v2_Task_AnnotationsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_Task_AnnotationsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_run_v2_TaskAttemptResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_TaskAttemptResult_descriptor, + new java.lang.String[] { "Status", "ExitCode", }); + 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.resource); + 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.run.v2.ConditionProto.getDescriptor(); + com.google.cloud.run.v2.K8sMinProto.getDescriptor(); + com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java similarity index 77% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java index 06fef4dea4ce..d059e0cc335c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplate.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/run/v2/task_template.proto package com.google.cloud.run.v2; /** - * - * *
  * TaskTemplate describes the data a task should have when created
  * from a template.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.TaskTemplate}
  */
-public final class TaskTemplate extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TaskTemplate extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.TaskTemplate)
     TaskTemplateOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TaskTemplate.newBuilder() to construct.
   private TaskTemplate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TaskTemplate() {
     containers_ = java.util.Collections.emptyList();
     volumes_ = java.util.Collections.emptyList();
@@ -48,41 +30,37 @@ private TaskTemplate() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TaskTemplate();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.TaskTemplateProto
-        .internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.TaskTemplateProto.internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.TaskTemplateProto
-        .internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable
+    return com.google.cloud.run.v2.TaskTemplateProto.internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.TaskTemplate.class,
-            com.google.cloud.run.v2.TaskTemplate.Builder.class);
+            com.google.cloud.run.v2.TaskTemplate.class, com.google.cloud.run.v2.TaskTemplate.Builder.class);
   }
 
   private int retriesCase_ = 0;
   private java.lang.Object retries_;
-
   public enum RetriesCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     MAX_RETRIES(3),
     RETRIES_NOT_SET(0);
     private final int value;
-
     private RetriesCase(int value) {
       this.value = value;
     }
@@ -98,29 +76,25 @@ public static RetriesCase valueOf(int value) {
 
     public static RetriesCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return MAX_RETRIES;
-        case 0:
-          return RETRIES_NOT_SET;
-        default:
-          return null;
+        case 3: return MAX_RETRIES;
+        case 0: return RETRIES_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RetriesCase getRetriesCase() {
-    return RetriesCase.forNumber(retriesCase_);
+  public RetriesCase
+  getRetriesCase() {
+    return RetriesCase.forNumber(
+        retriesCase_);
   }
 
   public static final int CONTAINERS_FIELD_NUMBER = 1;
   private java.util.List containers_;
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -133,8 +107,6 @@ public java.util.List getContainersList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -143,13 +115,11 @@ public java.util.List getContainersList() {
    * repeated .google.cloud.run.v2.Container containers = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getContainersOrBuilderList() {
     return containers_;
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -162,8 +132,6 @@ public int getContainersCount() {
     return containers_.size();
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -176,8 +144,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
     return containers_.get(index);
   }
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -186,15 +152,14 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
    * repeated .google.cloud.run.v2.Container containers = 1;
    */
   @java.lang.Override
-  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+  public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index) {
     return containers_.get(index);
   }
 
   public static final int VOLUMES_FIELD_NUMBER = 2;
   private java.util.List volumes_;
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
@@ -206,8 +171,6 @@ public java.util.List getVolumesList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -215,13 +178,11 @@ public java.util.List getVolumesList() { * repeated .google.cloud.run.v2.Volume volumes = 2; */ @java.lang.Override - public java.util.List + public java.util.List getVolumesOrBuilderList() { return volumes_; } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -233,8 +194,6 @@ public int getVolumesCount() { return volumes_.size(); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -246,8 +205,6 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { return volumes_.get(index); } /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -255,20 +212,18 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { * repeated .google.cloud.run.v2.Volume volumes = 2; */ @java.lang.Override - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { return volumes_.get(index); } public static final int MAX_RETRIES_FIELD_NUMBER = 3; /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 3; - * * @return Whether the maxRetries field is set. */ @java.lang.Override @@ -276,14 +231,11 @@ public boolean hasMaxRetries() { return retriesCase_ == 3; } /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 3; - * * @return The maxRetries. */ @java.lang.Override @@ -297,8 +249,6 @@ public int getMaxRetries() { public static final int TIMEOUT_FIELD_NUMBER = 4; private com.google.protobuf.Duration timeout_; /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -306,7 +256,6 @@ public int getMaxRetries() {
    * 
* * .google.protobuf.Duration timeout = 4; - * * @return Whether the timeout field is set. */ @java.lang.Override @@ -314,8 +263,6 @@ public boolean hasTimeout() { return timeout_ != null; } /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -323,7 +270,6 @@ public boolean hasTimeout() {
    * 
* * .google.protobuf.Duration timeout = 4; - * * @return The timeout. */ @java.lang.Override @@ -331,8 +277,6 @@ public com.google.protobuf.Duration getTimeout() { return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_; } /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -349,8 +293,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
   public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 5;
   private volatile java.lang.Object serviceAccount_;
   /**
-   *
-   *
    * 
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -359,7 +301,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
    * 
* * string service_account = 5; - * * @return The serviceAccount. */ @java.lang.Override @@ -368,15 +309,14 @@ public java.lang.String getServiceAccount() { 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(); serviceAccount_ = s; return s; } } /** - * - * *
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -385,15 +325,16 @@ public java.lang.String getServiceAccount() {
    * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ @java.lang.Override - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -404,44 +345,33 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { public static final int EXECUTION_ENVIRONMENT_FIELD_NUMBER = 6; private int executionEnvironment_; /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The executionEnvironment. */ - @java.lang.Override - public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { + @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } public static final int ENCRYPTION_KEY_FIELD_NUMBER = 7; private volatile java.lang.Object encryptionKey_; /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -449,7 +379,6 @@ public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() {
    * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ @java.lang.Override @@ -458,15 +387,14 @@ public java.lang.String getEncryptionKey() { 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(); encryptionKey_ = s; return s; } } /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -474,15 +402,16 @@ public java.lang.String getEncryptionKey() {
    * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -493,15 +422,12 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { public static final int VPC_ACCESS_FIELD_NUMBER = 8; private com.google.cloud.run.v2.VpcAccess vpcAccess_; /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return Whether the vpcAccess field is set. */ @java.lang.Override @@ -509,15 +435,12 @@ public boolean hasVpcAccess() { return vpcAccess_ != null; } /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return The vpcAccess. */ @java.lang.Override @@ -525,8 +448,6 @@ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -540,7 +461,6 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -552,7 +472,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 < containers_.size(); i++) {
       output.writeMessage(1, containers_.get(i));
     }
@@ -560,7 +481,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(2, volumes_.get(i));
     }
     if (retriesCase_ == 3) {
-      output.writeInt32(3, (int) ((java.lang.Integer) retries_));
+      output.writeInt32(
+          3, (int)((java.lang.Integer) retries_));
     }
     if (timeout_ != null) {
       output.writeMessage(4, getTimeout());
@@ -568,9 +490,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serviceAccount_);
     }
-    if (executionEnvironment_
-        != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED
-            .getNumber()) {
+    if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) {
       output.writeEnum(6, executionEnvironment_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) {
@@ -589,32 +509,35 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < containers_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, containers_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, containers_.get(i));
     }
     for (int i = 0; i < volumes_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, volumes_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, volumes_.get(i));
     }
     if (retriesCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeInt32Size(
-              3, (int) ((java.lang.Integer) retries_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(
+            3, (int)((java.lang.Integer) retries_));
     }
     if (timeout_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTimeout());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getTimeout());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serviceAccount_);
     }
-    if (executionEnvironment_
-        != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, executionEnvironment_);
+    if (executionEnvironment_ != com.google.cloud.run.v2.ExecutionEnvironment.EXECUTION_ENVIRONMENT_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(6, executionEnvironment_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(encryptionKey_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, encryptionKey_);
     }
     if (vpcAccess_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getVpcAccess());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getVpcAccess());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -624,30 +547,37 @@ 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.run.v2.TaskTemplate)) {
       return super.equals(obj);
     }
     com.google.cloud.run.v2.TaskTemplate other = (com.google.cloud.run.v2.TaskTemplate) obj;
 
-    if (!getContainersList().equals(other.getContainersList())) return false;
-    if (!getVolumesList().equals(other.getVolumesList())) return false;
+    if (!getContainersList()
+        .equals(other.getContainersList())) return false;
+    if (!getVolumesList()
+        .equals(other.getVolumesList())) return false;
     if (hasTimeout() != other.hasTimeout()) return false;
     if (hasTimeout()) {
-      if (!getTimeout().equals(other.getTimeout())) return false;
+      if (!getTimeout()
+          .equals(other.getTimeout())) return false;
     }
-    if (!getServiceAccount().equals(other.getServiceAccount())) return false;
+    if (!getServiceAccount()
+        .equals(other.getServiceAccount())) return false;
     if (executionEnvironment_ != other.executionEnvironment_) return false;
-    if (!getEncryptionKey().equals(other.getEncryptionKey())) return false;
+    if (!getEncryptionKey()
+        .equals(other.getEncryptionKey())) return false;
     if (hasVpcAccess() != other.hasVpcAccess()) return false;
     if (hasVpcAccess()) {
-      if (!getVpcAccess().equals(other.getVpcAccess())) return false;
+      if (!getVpcAccess()
+          .equals(other.getVpcAccess())) return false;
     }
     if (!getRetriesCase().equals(other.getRetriesCase())) return false;
     switch (retriesCase_) {
       case 3:
-        if (getMaxRetries() != other.getMaxRetries()) return false;
+        if (getMaxRetries()
+            != other.getMaxRetries()) return false;
         break;
       case 0:
       default:
@@ -698,103 +628,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.run.v2.TaskTemplate parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.run.v2.TaskTemplate parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.TaskTemplate 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.run.v2.TaskTemplate parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.run.v2.TaskTemplate parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.TaskTemplate 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.run.v2.TaskTemplate parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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.run.v2.TaskTemplate 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;
   }
   /**
-   *
-   *
    * 
    * TaskTemplate describes the data a task should have when created
    * from a template.
@@ -802,32 +726,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.TaskTemplate}
    */
-  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.run.v2.TaskTemplate)
       com.google.cloud.run.v2.TaskTemplateOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.TaskTemplateProto
-          .internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.TaskTemplateProto.internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.TaskTemplateProto
-          .internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable
+      return com.google.cloud.run.v2.TaskTemplateProto.internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.TaskTemplate.class,
-              com.google.cloud.run.v2.TaskTemplate.Builder.class);
+              com.google.cloud.run.v2.TaskTemplate.class, com.google.cloud.run.v2.TaskTemplate.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.TaskTemplate.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -869,9 +794,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.TaskTemplateProto
-          .internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.TaskTemplateProto.internal_static_google_cloud_run_v2_TaskTemplate_descriptor;
     }
 
     @java.lang.Override
@@ -935,39 +860,38 @@ public com.google.cloud.run.v2.TaskTemplate 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.run.v2.TaskTemplate) {
-        return mergeFrom((com.google.cloud.run.v2.TaskTemplate) other);
+        return mergeFrom((com.google.cloud.run.v2.TaskTemplate)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -994,10 +918,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.TaskTemplate other) {
             containersBuilder_ = null;
             containers_ = other.containers_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            containersBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getContainersFieldBuilder()
-                    : null;
+            containersBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getContainersFieldBuilder() : null;
           } else {
             containersBuilder_.addAllMessages(other.containers_);
           }
@@ -1021,10 +944,9 @@ public Builder mergeFrom(com.google.cloud.run.v2.TaskTemplate other) {
             volumesBuilder_ = null;
             volumes_ = other.volumes_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            volumesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getVolumesFieldBuilder()
-                    : null;
+            volumesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getVolumesFieldBuilder() : null;
           } else {
             volumesBuilder_.addAllMessages(other.volumes_);
           }
@@ -1048,15 +970,13 @@ public Builder mergeFrom(com.google.cloud.run.v2.TaskTemplate other) {
         mergeVpcAccess(other.getVpcAccess());
       }
       switch (other.getRetriesCase()) {
-        case MAX_RETRIES:
-          {
-            setMaxRetries(other.getMaxRetries());
-            break;
-          }
-        case RETRIES_NOT_SET:
-          {
-            break;
-          }
+        case MAX_RETRIES: {
+          setMaxRetries(other.getMaxRetries());
+          break;
+        }
+        case RETRIES_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1084,74 +1004,72 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.run.v2.Container m =
-                    input.readMessage(
-                        com.google.cloud.run.v2.Container.parser(), extensionRegistry);
-                if (containersBuilder_ == null) {
-                  ensureContainersIsMutable();
-                  containers_.add(m);
-                } else {
-                  containersBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.cloud.run.v2.Volume m =
-                    input.readMessage(com.google.cloud.run.v2.Volume.parser(), extensionRegistry);
-                if (volumesBuilder_ == null) {
-                  ensureVolumesIsMutable();
-                  volumes_.add(m);
-                } else {
-                  volumesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            case 24:
-              {
-                retries_ = input.readInt32();
-                retriesCase_ = 3;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getTimeoutFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                serviceAccount_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 48:
-              {
-                executionEnvironment_ = input.readEnum();
-
-                break;
-              } // case 48
-            case 58:
-              {
-                encryptionKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(getVpcAccessFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 66
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.run.v2.Container m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Container.parser(),
+                      extensionRegistry);
+              if (containersBuilder_ == null) {
+                ensureContainersIsMutable();
+                containers_.add(m);
+              } else {
+                containersBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              com.google.cloud.run.v2.Volume m =
+                  input.readMessage(
+                      com.google.cloud.run.v2.Volume.parser(),
+                      extensionRegistry);
+              if (volumesBuilder_ == null) {
+                ensureVolumesIsMutable();
+                volumes_.add(m);
+              } else {
+                volumesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            case 24: {
+              retries_ = input.readInt32();
+              retriesCase_ = 3;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getTimeoutFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              serviceAccount_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 48: {
+              executionEnvironment_ = input.readEnum();
+
+              break;
+            } // case 48
+            case 58: {
+              encryptionKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getVpcAccessFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 66
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1161,12 +1079,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int retriesCase_ = 0;
     private java.lang.Object retries_;
-
-    public RetriesCase getRetriesCase() {
-      return RetriesCase.forNumber(retriesCase_);
+    public RetriesCase
+        getRetriesCase() {
+      return RetriesCase.forNumber(
+          retriesCase_);
     }
 
     public Builder clearRetries() {
@@ -1179,24 +1097,18 @@ public Builder clearRetries() {
     private int bitField0_;
 
     private java.util.List containers_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureContainersIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         containers_ = new java.util.ArrayList(containers_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Container,
-            com.google.cloud.run.v2.Container.Builder,
-            com.google.cloud.run.v2.ContainerOrBuilder>
-        containersBuilder_;
+        com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> containersBuilder_;
 
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1212,8 +1124,6 @@ public java.util.List getContainersList() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1229,8 +1139,6 @@ public int getContainersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1246,8 +1154,6 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1255,7 +1161,8 @@ public com.google.cloud.run.v2.Container getContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public Builder setContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder setContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1269,8 +1176,6 @@ public Builder setContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1290,8 +1195,6 @@ public Builder setContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1313,8 +1216,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1322,7 +1223,8 @@ public Builder addContainers(com.google.cloud.run.v2.Container value) {
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public Builder addContainers(int index, com.google.cloud.run.v2.Container value) {
+    public Builder addContainers(
+        int index, com.google.cloud.run.v2.Container value) {
       if (containersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1336,8 +1238,6 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1345,7 +1245,8 @@ public Builder addContainers(int index, com.google.cloud.run.v2.Container value)
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderForValue) {
+    public Builder addContainers(
+        com.google.cloud.run.v2.Container.Builder builderForValue) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
         containers_.add(builderForValue.build());
@@ -1356,8 +1257,6 @@ public Builder addContainers(com.google.cloud.run.v2.Container.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1377,8 +1276,6 @@ public Builder addContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1390,7 +1287,8 @@ public Builder addAllContainers(
         java.lang.Iterable values) {
       if (containersBuilder_ == null) {
         ensureContainersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, containers_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, containers_);
         onChanged();
       } else {
         containersBuilder_.addAllMessages(values);
@@ -1398,8 +1296,6 @@ public Builder addAllContainers(
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1418,8 +1314,6 @@ public Builder clearContainers() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1438,8 +1332,6 @@ public Builder removeContainers(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1447,12 +1339,11 @@ public Builder removeContainers(int index) {
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index) {
+    public com.google.cloud.run.v2.Container.Builder getContainersBuilder(
+        int index) {
       return getContainersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1460,16 +1351,14 @@ public com.google.cloud.run.v2.Container.Builder getContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index) {
+    public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+        int index) {
       if (containersBuilder_ == null) {
-        return containers_.get(index);
-      } else {
+        return containers_.get(index);  } else {
         return containersBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1477,8 +1366,8 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public java.util.List
-        getContainersOrBuilderList() {
+    public java.util.List 
+         getContainersOrBuilderList() {
       if (containersBuilder_ != null) {
         return containersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1486,8 +1375,6 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1496,12 +1383,10 @@ public com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int ind
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
     public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
-      return getContainersFieldBuilder()
-          .addBuilder(com.google.cloud.run.v2.Container.getDefaultInstance());
+      return getContainersFieldBuilder().addBuilder(
+          com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1509,13 +1394,12 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder() {
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index) {
-      return getContainersFieldBuilder()
-          .addBuilder(index, com.google.cloud.run.v2.Container.getDefaultInstance());
+    public com.google.cloud.run.v2.Container.Builder addContainersBuilder(
+        int index) {
+      return getContainersFieldBuilder().addBuilder(
+          index, com.google.cloud.run.v2.Container.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Holds the single container that defines the unit of execution for this
      * task.
@@ -1523,46 +1407,38 @@ public com.google.cloud.run.v2.Container.Builder addContainersBuilder(int index)
      *
      * repeated .google.cloud.run.v2.Container containers = 1;
      */
-    public java.util.List getContainersBuilderList() {
+    public java.util.List 
+         getContainersBuilderList() {
       return getContainersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Container,
-            com.google.cloud.run.v2.Container.Builder,
-            com.google.cloud.run.v2.ContainerOrBuilder>
+        com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder> 
         getContainersFieldBuilder() {
       if (containersBuilder_ == null) {
-        containersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.cloud.run.v2.Container,
-                com.google.cloud.run.v2.Container.Builder,
-                com.google.cloud.run.v2.ContainerOrBuilder>(
-                containers_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        containersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.cloud.run.v2.Container, com.google.cloud.run.v2.Container.Builder, com.google.cloud.run.v2.ContainerOrBuilder>(
+                containers_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         containers_ = null;
       }
       return containersBuilder_;
     }
 
     private java.util.List volumes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureVolumesIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         volumes_ = new java.util.ArrayList(volumes_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.run.v2.Volume,
-            com.google.cloud.run.v2.Volume.Builder,
-            com.google.cloud.run.v2.VolumeOrBuilder>
-        volumesBuilder_;
+        com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> volumesBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of Volumes to make available to containers.
      * 
@@ -1577,8 +1453,6 @@ public java.util.List getVolumesList() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1593,8 +1467,6 @@ public int getVolumesCount() { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1609,15 +1481,14 @@ public com.google.cloud.run.v2.Volume getVolumes(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1631,15 +1502,14 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder setVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.set(index, builderForValue.build()); @@ -1650,8 +1520,6 @@ public Builder setVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1672,15 +1540,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume value) { if (volumesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1694,15 +1561,14 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume value) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(builderForValue.build()); @@ -1713,15 +1579,14 @@ public Builder addVolumes(com.google.cloud.run.v2.Volume.Builder builderForValue return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { + public Builder addVolumes( + int index, com.google.cloud.run.v2.Volume.Builder builderForValue) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); volumes_.add(index, builderForValue.build()); @@ -1732,8 +1597,6 @@ public Builder addVolumes(int index, com.google.cloud.run.v2.Volume.Builder buil return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1744,7 +1607,8 @@ public Builder addAllVolumes( java.lang.Iterable values) { if (volumesBuilder_ == null) { ensureVolumesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, volumes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, volumes_); onChanged(); } else { volumesBuilder_.addAllMessages(values); @@ -1752,8 +1616,6 @@ public Builder addAllVolumes( return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1771,8 +1633,6 @@ public Builder clearVolumes() { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1790,44 +1650,39 @@ public Builder removeVolumes(int index) { return this; } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder(int index) { + public com.google.cloud.run.v2.Volume.Builder getVolumesBuilder( + int index) { return getVolumesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { + public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index) { if (volumesBuilder_ == null) { - return volumes_.get(index); - } else { + return volumes_.get(index); } else { return volumesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public java.util.List - getVolumesOrBuilderList() { + public java.util.List + getVolumesOrBuilderList() { if (volumesBuilder_ != null) { return volumesBuilder_.getMessageOrBuilderList(); } else { @@ -1835,8 +1690,6 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { } } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
@@ -1844,75 +1697,64 @@ public com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index) { * repeated .google.cloud.run.v2.Volume volumes = 2; */ public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder() { - return getVolumesFieldBuilder() - .addBuilder(com.google.cloud.run.v2.Volume.getDefaultInstance()); + return getVolumesFieldBuilder().addBuilder( + com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder(int index) { - return getVolumesFieldBuilder() - .addBuilder(index, com.google.cloud.run.v2.Volume.getDefaultInstance()); + public com.google.cloud.run.v2.Volume.Builder addVolumesBuilder( + int index) { + return getVolumesFieldBuilder().addBuilder( + index, com.google.cloud.run.v2.Volume.getDefaultInstance()); } /** - * - * *
      * A list of Volumes to make available to containers.
      * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - public java.util.List getVolumesBuilderList() { + public java.util.List + getVolumesBuilderList() { return getVolumesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder> + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder> getVolumesFieldBuilder() { if (volumesBuilder_ == null) { - volumesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.run.v2.Volume, - com.google.cloud.run.v2.Volume.Builder, - com.google.cloud.run.v2.VolumeOrBuilder>( - volumes_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + volumesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.run.v2.Volume, com.google.cloud.run.v2.Volume.Builder, com.google.cloud.run.v2.VolumeOrBuilder>( + volumes_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); volumes_ = null; } return volumesBuilder_; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 3; - * * @return Whether the maxRetries field is set. */ public boolean hasMaxRetries() { return retriesCase_ == 3; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 3; - * * @return The maxRetries. */ public int getMaxRetries() { @@ -1922,14 +1764,11 @@ public int getMaxRetries() { return 0; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 3; - * * @param value The maxRetries to set. * @return This builder for chaining. */ @@ -1940,14 +1779,11 @@ public Builder setMaxRetries(int value) { return this; } /** - * - * *
      * Number of retries allowed per Task, before marking this Task failed.
      * 
* * int32 max_retries = 3; - * * @return This builder for chaining. */ public Builder clearMaxRetries() { @@ -1961,13 +1797,8 @@ public Builder clearMaxRetries() { private com.google.protobuf.Duration timeout_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - timeoutBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> timeoutBuilder_; /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -1975,15 +1806,12 @@ public Builder clearMaxRetries() {
      * 
* * .google.protobuf.Duration timeout = 4; - * * @return Whether the timeout field is set. */ public boolean hasTimeout() { return timeoutBuilder_ != null || timeout_ != null; } /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -1991,7 +1819,6 @@ public boolean hasTimeout() {
      * 
* * .google.protobuf.Duration timeout = 4; - * * @return The timeout. */ public com.google.protobuf.Duration getTimeout() { @@ -2002,8 +1829,6 @@ public com.google.protobuf.Duration getTimeout() { } } /** - * - * *
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2026,8 +1851,6 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2036,7 +1859,8 @@ public Builder setTimeout(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration timeout = 4;
      */
-    public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTimeout(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (timeoutBuilder_ == null) {
         timeout_ = builderForValue.build();
         onChanged();
@@ -2047,8 +1871,6 @@ public Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2061,7 +1883,7 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       if (timeoutBuilder_ == null) {
         if (timeout_ != null) {
           timeout_ =
-              com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Duration.newBuilder(timeout_).mergeFrom(value).buildPartial();
         } else {
           timeout_ = value;
         }
@@ -2073,8 +1895,6 @@ public Builder mergeTimeout(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2095,8 +1915,6 @@ public Builder clearTimeout() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2106,13 +1924,11 @@ public Builder clearTimeout() {
      * .google.protobuf.Duration timeout = 4;
      */
     public com.google.protobuf.Duration.Builder getTimeoutBuilder() {
-
+      
       onChanged();
       return getTimeoutFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2125,12 +1941,11 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
       if (timeoutBuilder_ != null) {
         return timeoutBuilder_.getMessageOrBuilder();
       } else {
-        return timeout_ == null ? com.google.protobuf.Duration.getDefaultInstance() : timeout_;
+        return timeout_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : timeout_;
       }
     }
     /**
-     *
-     *
      * 
      * Max allowed time duration the Task may be active before the system will
      * actively try to mark it failed and kill associated containers. This applies
@@ -2140,17 +1955,14 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * .google.protobuf.Duration timeout = 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> 
         getTimeoutFieldBuilder() {
       if (timeoutBuilder_ == null) {
-        timeoutBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getTimeout(), getParentForChildren(), isClean());
+        timeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTimeout(),
+                getParentForChildren(),
+                isClean());
         timeout_ = null;
       }
       return timeoutBuilder_;
@@ -2158,8 +1970,6 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
 
     private java.lang.Object serviceAccount_ = "";
     /**
-     *
-     *
      * 
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -2168,13 +1978,13 @@ public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder() {
      * 
* * string service_account = 5; - * * @return The serviceAccount. */ public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; 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(); serviceAccount_ = s; return s; @@ -2183,8 +1993,6 @@ public java.lang.String getServiceAccount() { } } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -2193,14 +2001,15 @@ public java.lang.String getServiceAccount() {
      * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ - public com.google.protobuf.ByteString getServiceAccountBytes() { + public com.google.protobuf.ByteString + getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; 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); serviceAccount_ = b; return b; } else { @@ -2208,8 +2017,6 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { } } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -2218,22 +2025,20 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
      * 
* * string service_account = 5; - * * @param value The serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccount(java.lang.String value) { + public Builder setServiceAccount( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + serviceAccount_ = value; onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -2242,18 +2047,15 @@ public Builder setServiceAccount(java.lang.String value) {
      * 
* * string service_account = 5; - * * @return This builder for chaining. */ public Builder clearServiceAccount() { - + serviceAccount_ = getDefaultInstance().getServiceAccount(); onChanged(); return this; } /** - * - * *
      * Email address of the IAM service account associated with the Task of a
      * Job. The service account represents the identity of the
@@ -2262,16 +2064,16 @@ public Builder clearServiceAccount() {
      * 
* * string service_account = 5; - * * @param value The bytes for serviceAccount to set. * @return This builder for chaining. */ - public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { + public Builder setServiceAccountBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + serviceAccount_ = value; onChanged(); return this; @@ -2279,65 +2081,51 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) { private int executionEnvironment_ = 0; /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The enum numeric value on the wire for executionEnvironment. */ - @java.lang.Override - public int getExecutionEnvironmentValue() { + @java.lang.Override public int getExecutionEnvironmentValue() { return executionEnvironment_; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @param value The enum numeric value on the wire for executionEnvironment to set. * @return This builder for chaining. */ public Builder setExecutionEnvironmentValue(int value) { - + executionEnvironment_ = value; onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The executionEnvironment. */ @java.lang.Override public com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.ExecutionEnvironment result = - com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); + com.google.cloud.run.v2.ExecutionEnvironment result = com.google.cloud.run.v2.ExecutionEnvironment.valueOf(executionEnvironment_); return result == null ? com.google.cloud.run.v2.ExecutionEnvironment.UNRECOGNIZED : result; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @param value The executionEnvironment to set. * @return This builder for chaining. */ @@ -2345,24 +2133,21 @@ public Builder setExecutionEnvironment(com.google.cloud.run.v2.ExecutionEnvironm if (value == null) { throw new NullPointerException(); } - + executionEnvironment_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The execution environment being used to host this Task.
      * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return This builder for chaining. */ public Builder clearExecutionEnvironment() { - + executionEnvironment_ = 0; onChanged(); return this; @@ -2370,8 +2155,6 @@ public Builder clearExecutionEnvironment() { private java.lang.Object encryptionKey_ = ""; /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -2379,13 +2162,13 @@ public Builder clearExecutionEnvironment() {
      * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ public java.lang.String getEncryptionKey() { java.lang.Object ref = encryptionKey_; 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(); encryptionKey_ = s; return s; @@ -2394,8 +2177,6 @@ public java.lang.String getEncryptionKey() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -2403,14 +2184,15 @@ public java.lang.String getEncryptionKey() {
      * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - public com.google.protobuf.ByteString getEncryptionKeyBytes() { + public com.google.protobuf.ByteString + getEncryptionKeyBytes() { java.lang.Object ref = encryptionKey_; 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); encryptionKey_ = b; return b; } else { @@ -2418,8 +2200,6 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() { } } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -2427,22 +2207,20 @@ public com.google.protobuf.ByteString getEncryptionKeyBytes() {
      * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @param value The encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKey(java.lang.String value) { + public Builder setEncryptionKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + encryptionKey_ = value; onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -2450,18 +2228,15 @@ public Builder setEncryptionKey(java.lang.String value) {
      * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearEncryptionKey() { - + encryptionKey_ = getDefaultInstance().getEncryptionKey(); onChanged(); return this; } /** - * - * *
      * A reference to a customer managed encryption key (CMEK) to use to encrypt
      * this container image. For more information, go to
@@ -2469,16 +2244,16 @@ public Builder clearEncryptionKey() {
      * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for encryptionKey to set. * @return This builder for chaining. */ - public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { + public Builder setEncryptionKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + encryptionKey_ = value; onChanged(); return this; @@ -2486,49 +2261,36 @@ public Builder setEncryptionKeyBytes(com.google.protobuf.ByteString value) { private com.google.cloud.run.v2.VpcAccess vpcAccess_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.VpcAccess, - com.google.cloud.run.v2.VpcAccess.Builder, - com.google.cloud.run.v2.VpcAccessOrBuilder> - vpcAccessBuilder_; + com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> vpcAccessBuilder_; /** - * - * *
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return Whether the vpcAccess field is set. */ public boolean hasVpcAccess() { return vpcAccessBuilder_ != null || vpcAccess_ != null; } /** - * - * *
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
      * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return The vpcAccess. */ public com.google.cloud.run.v2.VpcAccess getVpcAccess() { if (vpcAccessBuilder_ == null) { - return vpcAccess_ == null - ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() - : vpcAccess_; + return vpcAccess_ == null ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_; } else { return vpcAccessBuilder_.getMessage(); } } /** - * - * *
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2550,8 +2312,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2559,7 +2319,8 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
      *
      * .google.cloud.run.v2.VpcAccess vpc_access = 8;
      */
-    public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
+    public Builder setVpcAccess(
+        com.google.cloud.run.v2.VpcAccess.Builder builderForValue) {
       if (vpcAccessBuilder_ == null) {
         vpcAccess_ = builderForValue.build();
         onChanged();
@@ -2570,8 +2331,6 @@ public Builder setVpcAccess(com.google.cloud.run.v2.VpcAccess.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2583,9 +2342,7 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       if (vpcAccessBuilder_ == null) {
         if (vpcAccess_ != null) {
           vpcAccess_ =
-              com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.run.v2.VpcAccess.newBuilder(vpcAccess_).mergeFrom(value).buildPartial();
         } else {
           vpcAccess_ = value;
         }
@@ -2597,8 +2354,6 @@ public Builder mergeVpcAccess(com.google.cloud.run.v2.VpcAccess value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2618,8 +2373,6 @@ public Builder clearVpcAccess() {
       return this;
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2628,13 +2381,11 @@ public Builder clearVpcAccess() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 8;
      */
     public com.google.cloud.run.v2.VpcAccess.Builder getVpcAccessBuilder() {
-
+      
       onChanged();
       return getVpcAccessFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2646,14 +2397,11 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
       if (vpcAccessBuilder_ != null) {
         return vpcAccessBuilder_.getMessageOrBuilder();
       } else {
-        return vpcAccess_ == null
-            ? com.google.cloud.run.v2.VpcAccess.getDefaultInstance()
-            : vpcAccess_;
+        return vpcAccess_ == null ?
+            com.google.cloud.run.v2.VpcAccess.getDefaultInstance() : vpcAccess_;
       }
     }
     /**
-     *
-     *
      * 
      * VPC Access configuration to use for this Task. For more information,
      * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
@@ -2662,24 +2410,21 @@ public com.google.cloud.run.v2.VpcAccessOrBuilder getVpcAccessOrBuilder() {
      * .google.cloud.run.v2.VpcAccess vpc_access = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.VpcAccess,
-            com.google.cloud.run.v2.VpcAccess.Builder,
-            com.google.cloud.run.v2.VpcAccessOrBuilder>
+        com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder> 
         getVpcAccessFieldBuilder() {
       if (vpcAccessBuilder_ == null) {
-        vpcAccessBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.VpcAccess,
-                com.google.cloud.run.v2.VpcAccess.Builder,
-                com.google.cloud.run.v2.VpcAccessOrBuilder>(
-                getVpcAccess(), getParentForChildren(), isClean());
+        vpcAccessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.VpcAccess, com.google.cloud.run.v2.VpcAccess.Builder, com.google.cloud.run.v2.VpcAccessOrBuilder>(
+                getVpcAccess(),
+                getParentForChildren(),
+                isClean());
         vpcAccess_ = null;
       }
       return vpcAccessBuilder_;
     }
-
     @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);
     }
 
@@ -2689,12 +2434,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.TaskTemplate)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.run.v2.TaskTemplate)
   private static final com.google.cloud.run.v2.TaskTemplate DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.run.v2.TaskTemplate();
   }
@@ -2703,27 +2448,27 @@ public static com.google.cloud.run.v2.TaskTemplate getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public TaskTemplate parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public TaskTemplate parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2738,4 +2483,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.run.v2.TaskTemplate getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java
similarity index 84%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java
index 392404f57e07..6fb44526751c 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateOrBuilder.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/run/v2/task_template.proto
 
 package com.google.cloud.run.v2;
 
-public interface TaskTemplateOrBuilder
-    extends
+public interface TaskTemplateOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TaskTemplate)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -33,10 +15,9 @@ public interface TaskTemplateOrBuilder
    *
    * repeated .google.cloud.run.v2.Container containers = 1;
    */
-  java.util.List getContainersList();
+  java.util.List 
+      getContainersList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -46,8 +27,6 @@ public interface TaskTemplateOrBuilder
    */
   com.google.cloud.run.v2.Container getContainers(int index);
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -57,8 +36,6 @@ public interface TaskTemplateOrBuilder
    */
   int getContainersCount();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -66,10 +43,9 @@ public interface TaskTemplateOrBuilder
    *
    * repeated .google.cloud.run.v2.Container containers = 1;
    */
-  java.util.List getContainersOrBuilderList();
+  java.util.List 
+      getContainersOrBuilderList();
   /**
-   *
-   *
    * 
    * Holds the single container that defines the unit of execution for this
    * task.
@@ -77,21 +53,19 @@ public interface TaskTemplateOrBuilder
    *
    * repeated .google.cloud.run.v2.Container containers = 1;
    */
-  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(int index);
+  com.google.cloud.run.v2.ContainerOrBuilder getContainersOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - java.util.List getVolumesList(); + java.util.List + getVolumesList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -100,8 +74,6 @@ public interface TaskTemplateOrBuilder */ com.google.cloud.run.v2.Volume getVolumes(int index); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
@@ -110,54 +82,44 @@ public interface TaskTemplateOrBuilder */ int getVolumesCount(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - java.util.List getVolumesOrBuilderList(); + java.util.List + getVolumesOrBuilderList(); /** - * - * *
    * A list of Volumes to make available to containers.
    * 
* * repeated .google.cloud.run.v2.Volume volumes = 2; */ - com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder(int index); + com.google.cloud.run.v2.VolumeOrBuilder getVolumesOrBuilder( + int index); /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 3; - * * @return Whether the maxRetries field is set. */ boolean hasMaxRetries(); /** - * - * *
    * Number of retries allowed per Task, before marking this Task failed.
    * 
* * int32 max_retries = 3; - * * @return The maxRetries. */ int getMaxRetries(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -165,13 +127,10 @@ public interface TaskTemplateOrBuilder
    * 
* * .google.protobuf.Duration timeout = 4; - * * @return Whether the timeout field is set. */ boolean hasTimeout(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -179,13 +138,10 @@ public interface TaskTemplateOrBuilder
    * 
* * .google.protobuf.Duration timeout = 4; - * * @return The timeout. */ com.google.protobuf.Duration getTimeout(); /** - * - * *
    * Max allowed time duration the Task may be active before the system will
    * actively try to mark it failed and kill associated containers. This applies
@@ -197,8 +153,6 @@ public interface TaskTemplateOrBuilder
   com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder();
 
   /**
-   *
-   *
    * 
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -207,13 +161,10 @@ public interface TaskTemplateOrBuilder
    * 
* * string service_account = 5; - * * @return The serviceAccount. */ java.lang.String getServiceAccount(); /** - * - * *
    * Email address of the IAM service account associated with the Task of a
    * Job. The service account represents the identity of the
@@ -222,39 +173,31 @@ public interface TaskTemplateOrBuilder
    * 
* * string service_account = 5; - * * @return The bytes for serviceAccount. */ - com.google.protobuf.ByteString getServiceAccountBytes(); + com.google.protobuf.ByteString + getServiceAccountBytes(); /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The enum numeric value on the wire for executionEnvironment. */ int getExecutionEnvironmentValue(); /** - * - * *
    * The execution environment being used to host this Task.
    * 
* * .google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; - * * @return The executionEnvironment. */ com.google.cloud.run.v2.ExecutionEnvironment getExecutionEnvironment(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -262,13 +205,10 @@ public interface TaskTemplateOrBuilder
    * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The encryptionKey. */ java.lang.String getEncryptionKey(); /** - * - * *
    * A reference to a customer managed encryption key (CMEK) to use to encrypt
    * this container image. For more information, go to
@@ -276,40 +216,32 @@ public interface TaskTemplateOrBuilder
    * 
* * string encryption_key = 7 [(.google.api.resource_reference) = { ... } - * * @return The bytes for encryptionKey. */ - com.google.protobuf.ByteString getEncryptionKeyBytes(); + com.google.protobuf.ByteString + getEncryptionKeyBytes(); /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return Whether the vpcAccess field is set. */ boolean hasVpcAccess(); /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
    * 
* * .google.cloud.run.v2.VpcAccess vpc_access = 8; - * * @return The vpcAccess. */ com.google.cloud.run.v2.VpcAccess getVpcAccess(); /** - * - * *
    * VPC Access configuration to use for this Task. For more information,
    * visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java
new file mode 100644
index 000000000000..6640e3970426
--- /dev/null
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TaskTemplateProto.java
@@ -0,0 +1,76 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/cloud/run/v2/task_template.proto
+
+package com.google.cloud.run.v2;
+
+public final class TaskTemplateProto {
+  private TaskTemplateProto() {}
+  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_run_v2_TaskTemplate_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_cloud_run_v2_TaskTemplate_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/run/v2/task_template.prot" +
+      "o\022\023google.cloud.run.v2\032\031google/api/resou" +
+      "rce.proto\032!google/cloud/run/v2/k8s.min.p" +
+      "roto\032)google/cloud/run/v2/vendor_setting" +
+      "s.proto\032\036google/protobuf/duration.proto\"" +
+      "\225\003\n\014TaskTemplate\0222\n\ncontainers\030\001 \003(\0132\036.g" +
+      "oogle.cloud.run.v2.Container\022,\n\007volumes\030" +
+      "\002 \003(\0132\033.google.cloud.run.v2.Volume\022\025\n\013ma" +
+      "x_retries\030\003 \001(\005H\000\022*\n\007timeout\030\004 \001(\0132\031.goo" +
+      "gle.protobuf.Duration\022\027\n\017service_account" +
+      "\030\005 \001(\t\022H\n\025execution_environment\030\006 \001(\0162)." +
+      "google.cloud.run.v2.ExecutionEnvironment" +
+      "\022>\n\016encryption_key\030\007 \001(\tB&\372A#\n!cloudkms." +
+      "googleapis.com/CryptoKey\0222\n\nvpc_access\030\010" +
+      " \001(\0132\036.google.cloud.run.v2.VpcAccessB\t\n\007" +
+      "retriesBf\n\027com.google.cloud.run.v2B\021Task" +
+      "TemplateProtoP\001Z6google.golang.org/genpr" +
+      "oto/googleapis/cloud/run/v2;runb\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.cloud.run.v2.K8sMinProto.getDescriptor(),
+          com.google.cloud.run.v2.VendorSettingsProto.getDescriptor(),
+          com.google.protobuf.DurationProto.getDescriptor(),
+        });
+    internal_static_google_cloud_run_v2_TaskTemplate_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_cloud_run_v2_TaskTemplate_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_cloud_run_v2_TaskTemplate_descriptor,
+        new java.lang.String[] { "Containers", "Volumes", "MaxRetries", "Timeout", "ServiceAccount", "ExecutionEnvironment", "EncryptionKey", "VpcAccess", "Retries", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.ResourceProto.resourceReference);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.cloud.run.v2.K8sMinProto.getDescriptor();
+    com.google.cloud.run.v2.VendorSettingsProto.getDescriptor();
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java
similarity index 69%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java
index 5907cda967ab..850808893238 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTarget.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/run/v2/traffic_target.proto
 
 package com.google.cloud.run.v2;
 
 /**
- *
- *
  * 
  * Holds a single traffic routing entry for the Service. Allocations can be done
  * to a specific Revision name, or pointing to the latest Ready Revision.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.TrafficTarget}
  */
-public final class TrafficTarget extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class TrafficTarget extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.TrafficTarget)
     TrafficTargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TrafficTarget.newBuilder() to construct.
   private TrafficTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private TrafficTarget() {
     type_ = 0;
     revision_ = "";
@@ -46,80 +28,65 @@ private TrafficTarget() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TrafficTarget();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.TrafficTargetProto
-        .internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.TrafficTargetProto
-        .internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable
+    return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.TrafficTarget.class,
-            com.google.cloud.run.v2.TrafficTarget.Builder.class);
+            com.google.cloud.run.v2.TrafficTarget.class, com.google.cloud.run.v2.TrafficTarget.Builder.class);
   }
 
   public static final int TYPE_FIELD_NUMBER = 1;
   private int type_;
   /**
-   *
-   *
    * 
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { + @java.lang.Override public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.TrafficTargetAllocationType result = - com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); - return result == null - ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED - : result; + com.google.cloud.run.v2.TrafficTargetAllocationType result = com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); + return result == null ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED : result; } public static final int REVISION_FIELD_NUMBER = 2; private volatile java.lang.Object revision_; /** - * - * *
    * Revision to which to send this portion of traffic, if traffic allocation is
    * by revision.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ @java.lang.Override @@ -128,30 +95,30 @@ public java.lang.String getRevision() { 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(); revision_ = s; return s; } } /** - * - * *
    * Revision to which to send this portion of traffic, if traffic allocation is
    * by revision.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -162,15 +129,12 @@ public com.google.protobuf.ByteString getRevisionBytes() { public static final int PERCENT_FIELD_NUMBER = 3; private int percent_; /** - * - * *
    * Specifies percent of the traffic to this Revision.
    * This defaults to zero if unspecified.
    * 
* * int32 percent = 3; - * * @return The percent. */ @java.lang.Override @@ -181,15 +145,12 @@ public int getPercent() { public static final int TAG_FIELD_NUMBER = 4; private volatile java.lang.Object tag_; /** - * - * *
    * Indicates a string to be part of the URI to exclusively reference this
    * target.
    * 
* * string tag = 4; - * * @return The tag. */ @java.lang.Override @@ -198,30 +159,30 @@ public java.lang.String getTag() { 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(); tag_ = s; return s; } } /** - * - * *
    * Indicates a string to be part of the URI to exclusively reference this
    * target.
    * 
* * string tag = 4; - * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -230,7 +191,6 @@ public com.google.protobuf.ByteString getTagBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,11 +202,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.run.v2.TrafficTargetAllocationType - .TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.run.v2.TrafficTargetAllocationType.TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) { @@ -267,17 +225,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.run.v2.TrafficTargetAllocationType - .TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.run.v2.TrafficTargetAllocationType.TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revision_); } if (percent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, percent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, percent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tag_); @@ -290,7 +247,7 @@ 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.run.v2.TrafficTarget)) { return super.equals(obj); @@ -298,9 +255,12 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.run.v2.TrafficTarget other = (com.google.cloud.run.v2.TrafficTarget) obj; if (type_ != other.type_) return false; - if (!getRevision().equals(other.getRevision())) return false; - if (getPercent() != other.getPercent()) return false; - if (!getTag().equals(other.getTag())) return false; + if (!getRevision() + .equals(other.getRevision())) return false; + if (getPercent() + != other.getPercent()) return false; + if (!getTag() + .equals(other.getTag())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,103 +285,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.TrafficTarget parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.TrafficTarget parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTarget 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.run.v2.TrafficTarget parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.TrafficTarget parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTarget 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.run.v2.TrafficTarget parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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.run.v2.TrafficTarget 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; } /** - * - * *
    * Holds a single traffic routing entry for the Service. Allocations can be done
    * to a specific Revision name, or pointing to the latest Ready Revision.
@@ -429,32 +383,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.TrafficTarget}
    */
-  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.run.v2.TrafficTarget)
       com.google.cloud.run.v2.TrafficTargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.TrafficTargetProto
-          .internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.TrafficTargetProto
-          .internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable
+      return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.TrafficTarget.class,
-              com.google.cloud.run.v2.TrafficTarget.Builder.class);
+              com.google.cloud.run.v2.TrafficTarget.class, com.google.cloud.run.v2.TrafficTarget.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.TrafficTarget.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +425,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.TrafficTargetProto
-          .internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTarget_descriptor;
     }
 
     @java.lang.Override
@@ -491,8 +446,7 @@ public com.google.cloud.run.v2.TrafficTarget build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.TrafficTarget buildPartial() {
-      com.google.cloud.run.v2.TrafficTarget result =
-          new com.google.cloud.run.v2.TrafficTarget(this);
+      com.google.cloud.run.v2.TrafficTarget result = new com.google.cloud.run.v2.TrafficTarget(this);
       result.type_ = type_;
       result.revision_ = revision_;
       result.percent_ = percent_;
@@ -505,39 +459,38 @@ public com.google.cloud.run.v2.TrafficTarget 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.run.v2.TrafficTarget) {
-        return mergeFrom((com.google.cloud.run.v2.TrafficTarget) other);
+        return mergeFrom((com.google.cloud.run.v2.TrafficTarget)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -586,37 +539,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                type_ = input.readEnum();
+            case 8: {
+              type_ = input.readEnum();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                revision_ = input.readStringRequireUtf8();
+              break;
+            } // case 8
+            case 18: {
+              revision_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                percent_ = input.readInt32();
+              break;
+            } // case 18
+            case 24: {
+              percent_ = input.readInt32();
 
-                break;
-              } // case 24
-            case 34:
-              {
-                tag_ = input.readStringRequireUtf8();
+              break;
+            } // case 24
+            case 34: {
+              tag_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -629,67 +577,51 @@ public Builder mergeFrom(
 
     private int type_ = 0;
     /**
-     *
-     *
      * 
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.TrafficTargetAllocationType result = - com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); - return result == null - ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED - : result; + com.google.cloud.run.v2.TrafficTargetAllocationType result = com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); + return result == null ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED : result; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -697,24 +629,21 @@ public Builder setType(com.google.cloud.run.v2.TrafficTargetAllocationType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -722,21 +651,19 @@ public Builder clearType() { private java.lang.Object revision_ = ""; /** - * - * *
      * Revision to which to send this portion of traffic, if traffic allocation is
      * by revision.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ public java.lang.String getRevision() { java.lang.Object ref = revision_; 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(); revision_ = s; return s; @@ -745,22 +672,21 @@ public java.lang.String getRevision() { } } /** - * - * *
      * Revision to which to send this portion of traffic, if traffic allocation is
      * by revision.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -768,80 +694,70 @@ public com.google.protobuf.ByteString getRevisionBytes() { } } /** - * - * *
      * Revision to which to send this portion of traffic, if traffic allocation is
      * by revision.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @param value The revision to set. * @return This builder for chaining. */ - public Builder setRevision(java.lang.String value) { + public Builder setRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revision_ = value; onChanged(); return this; } /** - * - * *
      * Revision to which to send this portion of traffic, if traffic allocation is
      * by revision.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearRevision() { - + revision_ = getDefaultInstance().getRevision(); onChanged(); return this; } /** - * - * *
      * Revision to which to send this portion of traffic, if traffic allocation is
      * by revision.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for revision to set. * @return This builder for chaining. */ - public Builder setRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revision_ = value; onChanged(); return this; } - private int percent_; + private int percent_ ; /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * This defaults to zero if unspecified.
      * 
* * int32 percent = 3; - * * @return The percent. */ @java.lang.Override @@ -849,38 +765,32 @@ public int getPercent() { return percent_; } /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * This defaults to zero if unspecified.
      * 
* * int32 percent = 3; - * * @param value The percent to set. * @return This builder for chaining. */ public Builder setPercent(int value) { - + percent_ = value; onChanged(); return this; } /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * This defaults to zero if unspecified.
      * 
* * int32 percent = 3; - * * @return This builder for chaining. */ public Builder clearPercent() { - + percent_ = 0; onChanged(); return this; @@ -888,21 +798,19 @@ public Builder clearPercent() { private java.lang.Object tag_ = ""; /** - * - * *
      * Indicates a string to be part of the URI to exclusively reference this
      * target.
      * 
* * string tag = 4; - * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; @@ -911,22 +819,21 @@ public java.lang.String getTag() { } } /** - * - * *
      * Indicates a string to be part of the URI to exclusively reference this
      * target.
      * 
* * string tag = 4; - * * @return The bytes for tag. */ - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -934,71 +841,64 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * Indicates a string to be part of the URI to exclusively reference this
      * target.
      * 
* * string tag = 4; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { + public Builder setTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** - * - * *
      * Indicates a string to be part of the URI to exclusively reference this
      * target.
      * 
* * string tag = 4; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * Indicates a string to be part of the URI to exclusively reference this
      * target.
      * 
* * string tag = 4; - * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes(com.google.protobuf.ByteString value) { + public Builder setTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = 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); } @@ -1008,12 +908,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.TrafficTarget) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.TrafficTarget) private static final com.google.cloud.run.v2.TrafficTarget DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.TrafficTarget(); } @@ -1022,27 +922,27 @@ public static com.google.cloud.run.v2.TrafficTarget getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TrafficTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrafficTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1057,4 +957,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.TrafficTarget getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java index 06c84b6689c3..fad73ecbbf88 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetAllocationType.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/run/v2/traffic_target.proto package com.google.cloud.run.v2; /** - * - * *
  * The type of instance allocation.
  * 
* * Protobuf enum {@code google.cloud.run.v2.TrafficTargetAllocationType} */ -public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolMessageEnum { +public enum TrafficTargetAllocationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified instance allocation type.
    * 
@@ -39,8 +21,6 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM */ TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED(0), /** - * - * *
    * Allocates instances to the Service's latest ready Revision.
    * 
@@ -49,8 +29,6 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM */ TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST(1), /** - * - * *
    * Allocates instances to a Revision by name.
    * 
@@ -62,8 +40,6 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM ; /** - * - * *
    * Unspecified instance allocation type.
    * 
@@ -72,8 +48,6 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM */ public static final int TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Allocates instances to the Service's latest ready Revision.
    * 
@@ -82,8 +56,6 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM */ public static final int TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST_VALUE = 1; /** - * - * *
    * Allocates instances to a Revision by name.
    * 
@@ -92,6 +64,7 @@ public enum TrafficTargetAllocationType implements com.google.protobuf.ProtocolM */ public static final int TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,14 +89,10 @@ public static TrafficTargetAllocationType valueOf(int value) { */ public static TrafficTargetAllocationType forNumber(int value) { switch (value) { - case 0: - return TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED; - case 1: - return TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST; - case 2: - return TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION; - default: - return null; + case 0: return TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED; + case 1: return TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST; + case 2: return TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION; + default: return null; } } @@ -131,28 +100,28 @@ public static TrafficTargetAllocationType forNumber(int value) { internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TrafficTargetAllocationType findValueByNumber(int number) { - return TrafficTargetAllocationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + TrafficTargetAllocationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TrafficTargetAllocationType findValueByNumber(int number) { + return TrafficTargetAllocationType.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.run.v2.TrafficTargetProto.getDescriptor().getEnumTypes().get(0); } @@ -161,7 +130,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TrafficTargetAllocationType 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; @@ -177,3 +147,4 @@ private TrafficTargetAllocationType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.run.v2.TrafficTargetAllocationType) } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java index ce98b2e4e1bc..2cb2b01d55dc 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetOrBuilder.java @@ -1,118 +1,83 @@ -/* - * 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/run/v2/traffic_target.proto package com.google.cloud.run.v2; -public interface TrafficTargetOrBuilder - extends +public interface TrafficTargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TrafficTarget) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ com.google.cloud.run.v2.TrafficTargetAllocationType getType(); /** - * - * *
    * Revision to which to send this portion of traffic, if traffic allocation is
    * by revision.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ java.lang.String getRevision(); /** - * - * *
    * Revision to which to send this portion of traffic, if traffic allocation is
    * by revision.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - com.google.protobuf.ByteString getRevisionBytes(); + com.google.protobuf.ByteString + getRevisionBytes(); /** - * - * *
    * Specifies percent of the traffic to this Revision.
    * This defaults to zero if unspecified.
    * 
* * int32 percent = 3; - * * @return The percent. */ int getPercent(); /** - * - * *
    * Indicates a string to be part of the URI to exclusively reference this
    * target.
    * 
* * string tag = 4; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * Indicates a string to be part of the URI to exclusively reference this
    * target.
    * 
* * string tag = 4; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); } diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java new file mode 100644 index 000000000000..41e7bb879597 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetProto.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/traffic_target.proto + +package com.google.cloud.run.v2; + +public final class TrafficTargetProto { + private TrafficTargetProto() {} + 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_run_v2_TrafficTarget_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_TrafficTargetStatus_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/run/v2/traffic_target.pro" + + "to\022\023google.cloud.run.v2\032\031google/api/reso" + + "urce.proto\"\241\001\n\rTrafficTarget\022>\n\004type\030\001 \001" + + "(\01620.google.cloud.run.v2.TrafficTargetAl" + + "locationType\0222\n\010revision\030\002 \001(\tB \372A\035\n\033run" + + ".googleapis.com/Revision\022\017\n\007percent\030\003 \001(" + + "\005\022\013\n\003tag\030\004 \001(\t\"\264\001\n\023TrafficTargetStatus\022>" + + "\n\004type\030\001 \001(\01620.google.cloud.run.v2.Traff" + + "icTargetAllocationType\0222\n\010revision\030\002 \001(\t" + + "B \372A\035\n\033run.googleapis.com/Revision\022\017\n\007pe" + + "rcent\030\003 \001(\005\022\013\n\003tag\030\004 \001(\t\022\013\n\003uri\030\005 \001(\t*\245\001" + + "\n\033TrafficTargetAllocationType\022.\n*TRAFFIC" + + "_TARGET_ALLOCATION_TYPE_UNSPECIFIED\020\000\022)\n" + + "%TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\020\001" + + "\022+\n\'TRAFFIC_TARGET_ALLOCATION_TYPE_REVIS" + + "ION\020\002Bg\n\027com.google.cloud.run.v2B\022Traffi" + + "cTargetProtoP\001Z6google.golang.org/genpro" + + "to/googleapis/cloud/run/v2;runb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_TrafficTarget_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_TrafficTarget_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_TrafficTarget_descriptor, + new java.lang.String[] { "Type", "Revision", "Percent", "Tag", }); + internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor, + new java.lang.String[] { "Type", "Revision", "Percent", "Tag", "Uri", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java index f34f76215cd4..1571d7f970ad 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatus.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/run/v2/traffic_target.proto package com.google.cloud.run.v2; /** - * - * *
  * Represents the observed state of a single `TrafficTarget` entry.
  * 
* * Protobuf type {@code google.cloud.run.v2.TrafficTargetStatus} */ -public final class TrafficTargetStatus extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TrafficTargetStatus extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.TrafficTargetStatus) TrafficTargetStatusOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TrafficTargetStatus.newBuilder() to construct. private TrafficTargetStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TrafficTargetStatus() { type_ = 0; revision_ = ""; @@ -46,79 +28,64 @@ private TrafficTargetStatus() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TrafficTargetStatus(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TrafficTargetProto - .internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TrafficTargetProto - .internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable + return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TrafficTargetStatus.class, - com.google.cloud.run.v2.TrafficTargetStatus.Builder.class); + com.google.cloud.run.v2.TrafficTargetStatus.class, com.google.cloud.run.v2.TrafficTargetStatus.Builder.class); } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { + @java.lang.Override public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.TrafficTargetAllocationType result = - com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); - return result == null - ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED - : result; + com.google.cloud.run.v2.TrafficTargetAllocationType result = com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); + return result == null ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED : result; } public static final int REVISION_FIELD_NUMBER = 2; private volatile java.lang.Object revision_; /** - * - * *
    * Revision to which this traffic is sent.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ @java.lang.Override @@ -127,29 +94,29 @@ public java.lang.String getRevision() { 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(); revision_ = s; return s; } } /** - * - * *
    * Revision to which this traffic is sent.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ @java.lang.Override - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -160,14 +127,11 @@ public com.google.protobuf.ByteString getRevisionBytes() { public static final int PERCENT_FIELD_NUMBER = 3; private int percent_; /** - * - * *
    * Specifies percent of the traffic to this Revision.
    * 
* * int32 percent = 3; - * * @return The percent. */ @java.lang.Override @@ -178,14 +142,11 @@ public int getPercent() { public static final int TAG_FIELD_NUMBER = 4; private volatile java.lang.Object tag_; /** - * - * *
    * Indicates the string used in the URI to exclusively reference this target.
    * 
* * string tag = 4; - * * @return The tag. */ @java.lang.Override @@ -194,29 +155,29 @@ public java.lang.String getTag() { 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(); tag_ = s; return s; } } /** - * - * *
    * Indicates the string used in the URI to exclusively reference this target.
    * 
* * string tag = 4; - * * @return The bytes for tag. */ @java.lang.Override - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -227,14 +188,11 @@ public com.google.protobuf.ByteString getTagBytes() { public static final int URI_FIELD_NUMBER = 5; private volatile java.lang.Object uri_; /** - * - * *
    * Displays the target URI.
    * 
* * string uri = 5; - * * @return The uri. */ @java.lang.Override @@ -243,29 +201,29 @@ 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; } } /** - * - * *
    * Displays the target URI.
    * 
* * string uri = 5; - * * @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 { @@ -274,7 +232,6 @@ public com.google.protobuf.ByteString getUriBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -286,11 +243,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.cloud.run.v2.TrafficTargetAllocationType - .TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.cloud.run.v2.TrafficTargetAllocationType.TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) { @@ -314,17 +269,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.cloud.run.v2.TrafficTargetAllocationType - .TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.cloud.run.v2.TrafficTargetAllocationType.TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revision_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revision_); } if (percent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, percent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, percent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tag_); @@ -340,19 +294,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.run.v2.TrafficTargetStatus)) { return super.equals(obj); } - com.google.cloud.run.v2.TrafficTargetStatus other = - (com.google.cloud.run.v2.TrafficTargetStatus) obj; + com.google.cloud.run.v2.TrafficTargetStatus other = (com.google.cloud.run.v2.TrafficTargetStatus) obj; if (type_ != other.type_) return false; - if (!getRevision().equals(other.getRevision())) return false; - if (getPercent() != other.getPercent()) return false; - if (!getTag().equals(other.getTag())) return false; - if (!getUri().equals(other.getUri())) return false; + if (!getRevision() + .equals(other.getRevision())) return false; + if (getPercent() + != other.getPercent()) return false; + if (!getTag() + .equals(other.getTag())) return false; + if (!getUri() + .equals(other.getUri())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -379,136 +336,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.TrafficTargetStatus parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.TrafficTargetStatus parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.TrafficTargetStatus parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus 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; } /** - * - * *
    * Represents the observed state of a single `TrafficTarget` entry.
    * 
* * Protobuf type {@code google.cloud.run.v2.TrafficTargetStatus} */ - 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.run.v2.TrafficTargetStatus) com.google.cloud.run.v2.TrafficTargetStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.TrafficTargetProto - .internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.TrafficTargetProto - .internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable + return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTargetStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.TrafficTargetStatus.class, - com.google.cloud.run.v2.TrafficTargetStatus.Builder.class); + com.google.cloud.run.v2.TrafficTargetStatus.class, com.google.cloud.run.v2.TrafficTargetStatus.Builder.class); } // Construct using com.google.cloud.run.v2.TrafficTargetStatus.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +477,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.TrafficTargetProto - .internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.TrafficTargetProto.internal_static_google_cloud_run_v2_TrafficTargetStatus_descriptor; } @java.lang.Override @@ -547,8 +498,7 @@ public com.google.cloud.run.v2.TrafficTargetStatus build() { @java.lang.Override public com.google.cloud.run.v2.TrafficTargetStatus buildPartial() { - com.google.cloud.run.v2.TrafficTargetStatus result = - new com.google.cloud.run.v2.TrafficTargetStatus(this); + com.google.cloud.run.v2.TrafficTargetStatus result = new com.google.cloud.run.v2.TrafficTargetStatus(this); result.type_ = type_; result.revision_ = revision_; result.percent_ = percent_; @@ -562,39 +512,38 @@ public com.google.cloud.run.v2.TrafficTargetStatus 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.run.v2.TrafficTargetStatus) { - return mergeFrom((com.google.cloud.run.v2.TrafficTargetStatus) other); + return mergeFrom((com.google.cloud.run.v2.TrafficTargetStatus)other); } else { super.mergeFrom(other); return this; @@ -647,43 +596,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - type_ = input.readEnum(); + case 8: { + type_ = input.readEnum(); - break; - } // case 8 - case 18: - { - revision_ = input.readStringRequireUtf8(); + break; + } // case 8 + case 18: { + revision_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 24: - { - percent_ = input.readInt32(); + break; + } // case 18 + case 24: { + percent_ = input.readInt32(); - break; - } // case 24 - case 34: - { - tag_ = input.readStringRequireUtf8(); + break; + } // case 24 + case 34: { + tag_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: - { - uri_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: { + uri_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -696,67 +639,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ @java.lang.Override public com.google.cloud.run.v2.TrafficTargetAllocationType getType() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.TrafficTargetAllocationType result = - com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); - return result == null - ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED - : result; + com.google.cloud.run.v2.TrafficTargetAllocationType result = com.google.cloud.run.v2.TrafficTargetAllocationType.valueOf(type_); + return result == null ? com.google.cloud.run.v2.TrafficTargetAllocationType.UNRECOGNIZED : result; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -764,24 +691,21 @@ public Builder setType(com.google.cloud.run.v2.TrafficTargetAllocationType value if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The allocation type for this traffic target.
      * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -789,20 +713,18 @@ public Builder clearType() { private java.lang.Object revision_ = ""; /** - * - * *
      * Revision to which this traffic is sent.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ public java.lang.String getRevision() { java.lang.Object ref = revision_; 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(); revision_ = s; return s; @@ -811,21 +733,20 @@ public java.lang.String getRevision() { } } /** - * - * *
      * Revision to which this traffic is sent.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - public com.google.protobuf.ByteString getRevisionBytes() { + public com.google.protobuf.ByteString + getRevisionBytes() { java.lang.Object ref = revision_; 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); revision_ = b; return b; } else { @@ -833,76 +754,66 @@ public com.google.protobuf.ByteString getRevisionBytes() { } } /** - * - * *
      * Revision to which this traffic is sent.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @param value The revision to set. * @return This builder for chaining. */ - public Builder setRevision(java.lang.String value) { + public Builder setRevision( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + revision_ = value; onChanged(); return this; } /** - * - * *
      * Revision to which this traffic is sent.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearRevision() { - + revision_ = getDefaultInstance().getRevision(); onChanged(); return this; } /** - * - * *
      * Revision to which this traffic is sent.
      * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for revision to set. * @return This builder for chaining. */ - public Builder setRevisionBytes(com.google.protobuf.ByteString value) { + public Builder setRevisionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + revision_ = value; onChanged(); return this; } - private int percent_; + private int percent_ ; /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * 
* * int32 percent = 3; - * * @return The percent. */ @java.lang.Override @@ -910,36 +821,30 @@ public int getPercent() { return percent_; } /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * 
* * int32 percent = 3; - * * @param value The percent to set. * @return This builder for chaining. */ public Builder setPercent(int value) { - + percent_ = value; onChanged(); return this; } /** - * - * *
      * Specifies percent of the traffic to this Revision.
      * 
* * int32 percent = 3; - * * @return This builder for chaining. */ public Builder clearPercent() { - + percent_ = 0; onChanged(); return this; @@ -947,20 +852,18 @@ public Builder clearPercent() { private java.lang.Object tag_ = ""; /** - * - * *
      * Indicates the string used in the URI to exclusively reference this target.
      * 
* * string tag = 4; - * * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; @@ -969,21 +872,20 @@ public java.lang.String getTag() { } } /** - * - * *
      * Indicates the string used in the URI to exclusively reference this target.
      * 
* * string tag = 4; - * * @return The bytes for tag. */ - public com.google.protobuf.ByteString getTagBytes() { + public com.google.protobuf.ByteString + getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { @@ -991,61 +893,54 @@ public com.google.protobuf.ByteString getTagBytes() { } } /** - * - * *
      * Indicates the string used in the URI to exclusively reference this target.
      * 
* * string tag = 4; - * * @param value The tag to set. * @return This builder for chaining. */ - public Builder setTag(java.lang.String value) { + public Builder setTag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tag_ = value; onChanged(); return this; } /** - * - * *
      * Indicates the string used in the URI to exclusively reference this target.
      * 
* * string tag = 4; - * * @return This builder for chaining. */ public Builder clearTag() { - + tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** - * - * *
      * Indicates the string used in the URI to exclusively reference this target.
      * 
* * string tag = 4; - * * @param value The bytes for tag to set. * @return This builder for chaining. */ - public Builder setTagBytes(com.google.protobuf.ByteString value) { + public Builder setTagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tag_ = value; onChanged(); return this; @@ -1053,20 +948,18 @@ public Builder setTagBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Displays the target URI.
      * 
* * string uri = 5; - * * @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; @@ -1075,21 +968,20 @@ public java.lang.String getUri() { } } /** - * - * *
      * Displays the target URI.
      * 
* * string uri = 5; - * * @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 { @@ -1097,68 +989,61 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Displays the target URI.
      * 
* * string uri = 5; - * * @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; } /** - * - * *
      * Displays the target URI.
      * 
* * string uri = 5; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Displays the target URI.
      * 
* * string uri = 5; - * * @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; } - @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); } @@ -1168,12 +1053,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.TrafficTargetStatus) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.TrafficTargetStatus) private static final com.google.cloud.run.v2.TrafficTargetStatus DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.TrafficTargetStatus(); } @@ -1182,27 +1067,27 @@ public static com.google.cloud.run.v2.TrafficTargetStatus getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TrafficTargetStatus parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TrafficTargetStatus parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1217,4 +1102,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.TrafficTargetStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java index ab9869031686..125182f1b932 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/TrafficTargetStatusOrBuilder.java @@ -1,138 +1,98 @@ -/* - * 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/run/v2/traffic_target.proto package com.google.cloud.run.v2; -public interface TrafficTargetStatusOrBuilder - extends +public interface TrafficTargetStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.TrafficTargetStatus) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The allocation type for this traffic target.
    * 
* * .google.cloud.run.v2.TrafficTargetAllocationType type = 1; - * * @return The type. */ com.google.cloud.run.v2.TrafficTargetAllocationType getType(); /** - * - * *
    * Revision to which this traffic is sent.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The revision. */ java.lang.String getRevision(); /** - * - * *
    * Revision to which this traffic is sent.
    * 
* * string revision = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for revision. */ - com.google.protobuf.ByteString getRevisionBytes(); + com.google.protobuf.ByteString + getRevisionBytes(); /** - * - * *
    * Specifies percent of the traffic to this Revision.
    * 
* * int32 percent = 3; - * * @return The percent. */ int getPercent(); /** - * - * *
    * Indicates the string used in the URI to exclusively reference this target.
    * 
* * string tag = 4; - * * @return The tag. */ java.lang.String getTag(); /** - * - * *
    * Indicates the string used in the URI to exclusively reference this target.
    * 
* * string tag = 4; - * * @return The bytes for tag. */ - com.google.protobuf.ByteString getTagBytes(); + com.google.protobuf.ByteString + getTagBytes(); /** - * - * *
    * Displays the target URI.
    * 
* * string uri = 5; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Displays the target URI.
    * 
* * string uri = 5; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java index 5afbff905de0..d81016741581 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequest.java @@ -1,81 +1,60 @@ -/* - * 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/run/v2/job.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for updating a Job.
  * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.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; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.UpdateJobRequest.class, - com.google.cloud.run.v2.UpdateJobRequest.Builder.class); + com.google.cloud.run.v2.UpdateJobRequest.class, com.google.cloud.run.v2.UpdateJobRequest.Builder.class); } public static final int JOB_FIELD_NUMBER = 1; private com.google.cloud.run.v2.Job job_; /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ @java.lang.Override @@ -83,14 +62,11 @@ public boolean hasJob() { return job_ != null; } /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ @java.lang.Override @@ -98,8 +74,6 @@ public com.google.cloud.run.v2.Job getJob() { return job_ == null ? com.google.cloud.run.v2.Job.getDefaultInstance() : job_; } /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -114,15 +88,12 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or updating any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -133,8 +104,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_; /** - * - * *
    * If set to true, and if the Job does not exist, it will create a new
    * one. Caller must have both create and update permissions for this call if
@@ -142,7 +111,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ @java.lang.Override @@ -151,7 +119,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +130,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()); } @@ -183,13 +151,16 @@ 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 (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -199,7 +170,7 @@ 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.run.v2.UpdateJobRequest)) { return super.equals(obj); @@ -208,10 +179,13 @@ public boolean equals(final java.lang.Object obj) { if (hasJob() != other.hasJob()) return false; if (hasJob()) { - if (!getJob().equals(other.getJob())) return false; + if (!getJob() + .equals(other.getJob())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,144 +202,140 @@ public int hashCode() { hash = (53 * hash) + getJob().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.UpdateJobRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.UpdateJobRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.UpdateJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.UpdateJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.UpdateJobRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.UpdateJobRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.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.run.v2.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.run.v2.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.run.v2.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 updating a Job.
    * 
* * Protobuf type {@code google.cloud.run.v2.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.run.v2.UpdateJobRequest) com.google.cloud.run.v2.UpdateJobRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_UpdateJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.UpdateJobRequest.class, - com.google.cloud.run.v2.UpdateJobRequest.Builder.class); + com.google.cloud.run.v2.UpdateJobRequest.class, com.google.cloud.run.v2.UpdateJobRequest.Builder.class); } // Construct using com.google.cloud.run.v2.UpdateJobRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -383,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.JobProto - .internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.JobProto.internal_static_google_cloud_run_v2_UpdateJobRequest_descriptor; } @java.lang.Override @@ -404,8 +374,7 @@ public com.google.cloud.run.v2.UpdateJobRequest build() { @java.lang.Override public com.google.cloud.run.v2.UpdateJobRequest buildPartial() { - com.google.cloud.run.v2.UpdateJobRequest result = - new com.google.cloud.run.v2.UpdateJobRequest(this); + com.google.cloud.run.v2.UpdateJobRequest result = new com.google.cloud.run.v2.UpdateJobRequest(this); if (jobBuilder_ == null) { result.job_ = job_; } else { @@ -421,39 +390,38 @@ public com.google.cloud.run.v2.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.run.v2.UpdateJobRequest) { - return mergeFrom((com.google.cloud.run.v2.UpdateJobRequest) other); + return mergeFrom((com.google.cloud.run.v2.UpdateJobRequest)other); } else { super.mergeFrom(other); return this; @@ -497,31 +465,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getJobFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 24: - { - validateOnly_ = input.readBool(); - - break; - } // case 24 - case 32: - { - allowMissing_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getJobFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 24: { + validateOnly_ = input.readBool(); + + break; + } // case 24 + case 32: { + allowMissing_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,33 +500,24 @@ public Builder mergeFrom( private com.google.cloud.run.v2.Job job_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> - jobBuilder_; + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> jobBuilder_; /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.run.v2.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 Job to be updated.
      * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ public com.google.cloud.run.v2.Job getJob() { @@ -571,8 +528,6 @@ public com.google.cloud.run.v2.Job getJob() { } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -593,15 +548,14 @@ public Builder setJob(com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { + public Builder setJob( + com.google.cloud.run.v2.Job.Builder builderForValue) { if (jobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); @@ -612,8 +566,6 @@ public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -623,7 +575,8 @@ public Builder setJob(com.google.cloud.run.v2.Job.Builder builderForValue) { public Builder mergeJob(com.google.cloud.run.v2.Job value) { if (jobBuilder_ == null) { if (job_ != null) { - job_ = com.google.cloud.run.v2.Job.newBuilder(job_).mergeFrom(value).buildPartial(); + job_ = + com.google.cloud.run.v2.Job.newBuilder(job_).mergeFrom(value).buildPartial(); } else { job_ = value; } @@ -635,8 +588,6 @@ public Builder mergeJob(com.google.cloud.run.v2.Job value) { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -655,8 +606,6 @@ public Builder clearJob() { return this; } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -664,13 +613,11 @@ public Builder clearJob() { * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.Job.Builder getJobBuilder() { - + onChanged(); return getJobFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -681,12 +628,11 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { if (jobBuilder_ != null) { return jobBuilder_.getMessageOrBuilder(); } else { - return job_ == null ? com.google.cloud.run.v2.Job.getDefaultInstance() : job_; + return job_ == null ? + com.google.cloud.run.v2.Job.getDefaultInstance() : job_; } } /** - * - * *
      * Required. The Job to be updated.
      * 
@@ -694,32 +640,27 @@ public com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder() { * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder> + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder> getJobFieldBuilder() { if (jobBuilder_ == null) { - jobBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Job, - com.google.cloud.run.v2.Job.Builder, - com.google.cloud.run.v2.JobOrBuilder>(getJob(), getParentForChildren(), isClean()); + jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Job, com.google.cloud.run.v2.Job.Builder, com.google.cloud.run.v2.JobOrBuilder>( + getJob(), + getParentForChildren(), + isClean()); job_ = null; } return jobBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -727,47 +668,39 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and if the Job does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -775,7 +708,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ @java.lang.Override @@ -783,8 +715,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and if the Job does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -792,19 +722,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 4; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and if the Job does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -812,18 +739,17 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; 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); } @@ -833,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.UpdateJobRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.UpdateJobRequest) private static final com.google.cloud.run.v2.UpdateJobRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.UpdateJobRequest(); } @@ -847,27 +773,27 @@ public static com.google.cloud.run.v2.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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + 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 { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -882,4 +808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.UpdateJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java similarity index 68% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java index d82145821952..1d3c3582b7e1 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateJobRequestOrBuilder.java @@ -1,55 +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/run/v2/job.proto package com.google.cloud.run.v2; -public interface UpdateJobRequestOrBuilder - extends +public interface UpdateJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.UpdateJobRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return Whether the job field is set. */ boolean hasJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
* * .google.cloud.run.v2.Job job = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The job. */ com.google.cloud.run.v2.Job getJob(); /** - * - * *
    * Required. The Job to be updated.
    * 
@@ -59,22 +35,17 @@ public interface UpdateJobRequestOrBuilder com.google.cloud.run.v2.JobOrBuilder getJobOrBuilder(); /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or updating any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and if the Job does not exist, it will create a new
    * one. Caller must have both create and update permissions for this call if
@@ -82,7 +53,6 @@ public interface UpdateJobRequestOrBuilder
    * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java index 376b74683c25..8055ed02503c 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequest.java @@ -1,82 +1,60 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; /** - * - * *
  * Request message for updating a service.
  * 
* * Protobuf type {@code google.cloud.run.v2.UpdateServiceRequest} */ -public final class UpdateServiceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateServiceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.UpdateServiceRequest) UpdateServiceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateServiceRequest.newBuilder() to construct. private UpdateServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateServiceRequest() {} + private UpdateServiceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateServiceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.UpdateServiceRequest.class, - com.google.cloud.run.v2.UpdateServiceRequest.Builder.class); + com.google.cloud.run.v2.UpdateServiceRequest.class, com.google.cloud.run.v2.UpdateServiceRequest.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private com.google.cloud.run.v2.Service service_; /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ @java.lang.Override @@ -84,15 +62,11 @@ public boolean hasService() { return service_ != null; } /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ @java.lang.Override @@ -100,14 +74,11 @@ public com.google.cloud.run.v2.Service getService() { return service_ == null ? com.google.cloud.run.v2.Service.getDefaultInstance() : service_; } /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { @@ -117,15 +88,12 @@ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { public static final int VALIDATE_ONLY_FIELD_NUMBER = 3; private boolean validateOnly_; /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or updating any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -136,8 +104,6 @@ public boolean getValidateOnly() { public static final int ALLOW_MISSING_FIELD_NUMBER = 4; private boolean allowMissing_; /** - * - * *
    * If set to true, and if the Service does not exist, it will create a new
    * one. Caller must have both create and update permissions for this call if
@@ -145,7 +111,6 @@ public boolean getValidateOnly() {
    * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ @java.lang.Override @@ -154,7 +119,6 @@ public boolean getAllowMissing() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,7 +130,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 (service_ != null) { output.writeMessage(1, getService()); } @@ -186,13 +151,16 @@ public int getSerializedSize() { size = 0; if (service_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getService()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getService()); } if (validateOnly_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, validateOnly_); } if (allowMissing_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, allowMissing_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, allowMissing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -202,20 +170,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.run.v2.UpdateServiceRequest)) { return super.equals(obj); } - com.google.cloud.run.v2.UpdateServiceRequest other = - (com.google.cloud.run.v2.UpdateServiceRequest) obj; + com.google.cloud.run.v2.UpdateServiceRequest other = (com.google.cloud.run.v2.UpdateServiceRequest) obj; if (hasService() != other.hasService()) return false; if (hasService()) { - if (!getService().equals(other.getService())) return false; + if (!getService() + .equals(other.getService())) return false; } - if (getValidateOnly() != other.getValidateOnly()) return false; - if (getAllowMissing() != other.getAllowMissing()) return false; + if (getValidateOnly() + != other.getValidateOnly()) return false; + if (getAllowMissing() + != other.getAllowMissing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,144 +202,140 @@ public int hashCode() { hash = (53 * hash) + getService().hashCode(); } hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getValidateOnly()); hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowMissing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.run.v2.UpdateServiceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.UpdateServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.run.v2.UpdateServiceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest 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 updating a service.
    * 
* * Protobuf type {@code google.cloud.run.v2.UpdateServiceRequest} */ - 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.run.v2.UpdateServiceRequest) com.google.cloud.run.v2.UpdateServiceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_UpdateServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.UpdateServiceRequest.class, - com.google.cloud.run.v2.UpdateServiceRequest.Builder.class); + com.google.cloud.run.v2.UpdateServiceRequest.class, com.google.cloud.run.v2.UpdateServiceRequest.Builder.class); } // Construct using com.google.cloud.run.v2.UpdateServiceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +353,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.ServiceProto - .internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.ServiceProto.internal_static_google_cloud_run_v2_UpdateServiceRequest_descriptor; } @java.lang.Override @@ -408,8 +374,7 @@ public com.google.cloud.run.v2.UpdateServiceRequest build() { @java.lang.Override public com.google.cloud.run.v2.UpdateServiceRequest buildPartial() { - com.google.cloud.run.v2.UpdateServiceRequest result = - new com.google.cloud.run.v2.UpdateServiceRequest(this); + com.google.cloud.run.v2.UpdateServiceRequest result = new com.google.cloud.run.v2.UpdateServiceRequest(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { @@ -425,39 +390,38 @@ public com.google.cloud.run.v2.UpdateServiceRequest 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.run.v2.UpdateServiceRequest) { - return mergeFrom((com.google.cloud.run.v2.UpdateServiceRequest) other); + return mergeFrom((com.google.cloud.run.v2.UpdateServiceRequest)other); } else { super.mergeFrom(other); return this; @@ -501,31 +465,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getServiceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 24: - { - validateOnly_ = input.readBool(); - - break; - } // case 24 - case 32: - { - allowMissing_ = input.readBool(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getServiceFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 10 + case 24: { + validateOnly_ = input.readBool(); + + break; + } // case 24 + case 32: { + allowMissing_ = input.readBool(); + + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,35 +500,24 @@ public Builder mergeFrom( private com.google.cloud.run.v2.Service service_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> - serviceBuilder_; + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> serviceBuilder_; /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ public com.google.cloud.run.v2.Service getService() { @@ -577,14 +528,11 @@ public com.google.cloud.run.v2.Service getService() { } } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setService(com.google.cloud.run.v2.Service value) { if (serviceBuilder_ == null) { @@ -600,16 +548,14 @@ public Builder setService(com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setService(com.google.cloud.run.v2.Service.Builder builderForValue) { + public Builder setService( + com.google.cloud.run.v2.Service.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); @@ -620,20 +566,17 @@ public Builder setService(com.google.cloud.run.v2.Service.Builder builderForValu return this; } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeService(com.google.cloud.run.v2.Service value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = - com.google.cloud.run.v2.Service.newBuilder(service_).mergeFrom(value).buildPartial(); + com.google.cloud.run.v2.Service.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } @@ -645,14 +588,11 @@ public Builder mergeService(com.google.cloud.run.v2.Service value) { return this; } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearService() { if (serviceBuilder_ == null) { @@ -666,75 +606,61 @@ public Builder clearService() { return this; } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.Service.Builder getServiceBuilder() { - + onChanged(); return getServiceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { - return service_ == null ? com.google.cloud.run.v2.Service.getDefaultInstance() : service_; + return service_ == null ? + com.google.cloud.run.v2.Service.getDefaultInstance() : service_; } } /** - * - * *
      * Required. The Service to be updated.
      * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder> + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { - serviceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.Service, - com.google.cloud.run.v2.Service.Builder, - com.google.cloud.run.v2.ServiceOrBuilder>( - getService(), getParentForChildren(), isClean()); + serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.run.v2.Service, com.google.cloud.run.v2.Service.Builder, com.google.cloud.run.v2.ServiceOrBuilder>( + getService(), + getParentForChildren(), + isClean()); service_ = null; } return serviceBuilder_; } - private boolean validateOnly_; + private boolean validateOnly_ ; /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @return The validateOnly. */ @java.lang.Override @@ -742,47 +668,39 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @param value The validateOnly to set. * @return This builder for chaining. */ public Builder setValidateOnly(boolean value) { - + validateOnly_ = value; onChanged(); return this; } /** - * - * *
      * Indicates that the request should be validated and default values
      * populated, without persisting the request or updating any resources.
      * 
* * bool validate_only = 3; - * * @return This builder for chaining. */ public Builder clearValidateOnly() { - + validateOnly_ = false; onChanged(); return this; } - private boolean allowMissing_; + private boolean allowMissing_ ; /** - * - * *
      * If set to true, and if the Service does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -790,7 +708,6 @@ public Builder clearValidateOnly() {
      * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ @java.lang.Override @@ -798,8 +715,6 @@ public boolean getAllowMissing() { return allowMissing_; } /** - * - * *
      * If set to true, and if the Service does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -807,19 +722,16 @@ public boolean getAllowMissing() {
      * 
* * bool allow_missing = 4; - * * @param value The allowMissing to set. * @return This builder for chaining. */ public Builder setAllowMissing(boolean value) { - + allowMissing_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, and if the Service does not exist, it will create a new
      * one. Caller must have both create and update permissions for this call if
@@ -827,18 +739,17 @@ public Builder setAllowMissing(boolean value) {
      * 
* * bool allow_missing = 4; - * * @return This builder for chaining. */ public Builder clearAllowMissing() { - + allowMissing_ = false; 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); } @@ -848,12 +759,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.UpdateServiceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.UpdateServiceRequest) private static final com.google.cloud.run.v2.UpdateServiceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.UpdateServiceRequest(); } @@ -862,27 +773,27 @@ public static com.google.cloud.run.v2.UpdateServiceRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateServiceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -897,4 +808,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.UpdateServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java similarity index 64% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java index 6009b7fd456b..103efd8c57ca 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/UpdateServiceRequestOrBuilder.java @@ -1,83 +1,51 @@ -/* - * 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/run/v2/service.proto package com.google.cloud.run.v2; -public interface UpdateServiceRequestOrBuilder - extends +public interface UpdateServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.UpdateServiceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the service field is set. */ boolean hasService(); /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The service. */ com.google.cloud.run.v2.Service getService(); /** - * - * *
    * Required. The Service to be updated.
    * 
* - * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.run.v2.Service service = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.run.v2.ServiceOrBuilder getServiceOrBuilder(); /** - * - * *
    * Indicates that the request should be validated and default values
    * populated, without persisting the request or updating any resources.
    * 
* * bool validate_only = 3; - * * @return The validateOnly. */ boolean getValidateOnly(); /** - * - * *
    * If set to true, and if the Service does not exist, it will create a new
    * one. Caller must have both create and update permissions for this call if
@@ -85,7 +53,6 @@ public interface UpdateServiceRequestOrBuilder
    * 
* * bool allow_missing = 4; - * * @return The allowMissing. */ boolean getAllowMissing(); diff --git a/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java new file mode 100644 index 000000000000..53c79f97fad9 --- /dev/null +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VendorSettingsProto.java @@ -0,0 +1,96 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/run/v2/vendor_settings.proto + +package com.google.cloud.run.v2; + +public final class VendorSettingsProto { + private VendorSettingsProto() {} + 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_run_v2_VpcAccess_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_run_v2_RevisionScaling_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_run_v2_RevisionScaling_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/run/v2/vendor_settings.pr" + + "oto\022\023google.cloud.run.v2\032\031google/api/res" + + "ource.proto\"\324\001\n\tVpcAccess\022:\n\tconnector\030\001" + + " \001(\tB\'\372A$\n\"vpcaccess.googleapis.com/Conn" + + "ector\0228\n\006egress\030\002 \001(\0162(.google.cloud.run" + + ".v2.VpcAccess.VpcEgress\"Q\n\tVpcEgress\022\032\n\026" + + "VPC_EGRESS_UNSPECIFIED\020\000\022\017\n\013ALL_TRAFFIC\020" + + "\001\022\027\n\023PRIVATE_RANGES_ONLY\020\002\"a\n\023BinaryAuth" + + "orization\022\025\n\013use_default\030\001 \001(\010H\000\022 \n\030brea" + + "kglass_justification\030\002 \001(\tB\021\n\017binauthz_m" + + "ethod\"I\n\017RevisionScaling\022\032\n\022min_instance" + + "_count\030\001 \001(\005\022\032\n\022max_instance_count\030\002 \001(\005" + + "*\231\001\n\016IngressTraffic\022\037\n\033INGRESS_TRAFFIC_U" + + "NSPECIFIED\020\000\022\027\n\023INGRESS_TRAFFIC_ALL\020\001\022!\n" + + "\035INGRESS_TRAFFIC_INTERNAL_ONLY\020\002\022*\n&INGR" + + "ESS_TRAFFIC_INTERNAL_LOAD_BALANCER\020\003*}\n\024" + + "ExecutionEnvironment\022%\n!EXECUTION_ENVIRO" + + "NMENT_UNSPECIFIED\020\000\022\036\n\032EXECUTION_ENVIRON" + + "MENT_GEN1\020\001\022\036\n\032EXECUTION_ENVIRONMENT_GEN" + + "2\020\002Bh\n\027com.google.cloud.run.v2B\023VendorSe" + + "ttingsProtoP\001Z6google.golang.org/genprot" + + "o/googleapis/cloud/run/v2;runb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + }); + internal_static_google_cloud_run_v2_VpcAccess_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_VpcAccess_descriptor, + new java.lang.String[] { "Connector", "Egress", }); + internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_run_v2_BinaryAuthorization_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_BinaryAuthorization_descriptor, + new java.lang.String[] { "UseDefault", "BreakglassJustification", "BinauthzMethod", }); + internal_static_google_cloud_run_v2_RevisionScaling_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_run_v2_RevisionScaling_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_run_v2_RevisionScaling_descriptor, + new java.lang.String[] { "MinInstanceCount", "MaxInstanceCount", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java similarity index 70% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java index c99a29204d7d..5425cb393088 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPath.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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * VersionToPath maps a specific version of a secret to a relative file to mount
  * to, relative to VolumeMount's mount_path.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.VersionToPath}
  */
-public final class VersionToPath extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VersionToPath extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.VersionToPath)
     VersionToPathOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VersionToPath.newBuilder() to construct.
   private VersionToPath(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VersionToPath() {
     path_ = "";
     version_ = "";
@@ -45,41 +27,37 @@ private VersionToPath() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VersionToPath();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_VersionToPath_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VersionToPath_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.K8sMinProto
-        .internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable
+    return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.VersionToPath.class,
-            com.google.cloud.run.v2.VersionToPath.Builder.class);
+            com.google.cloud.run.v2.VersionToPath.class, com.google.cloud.run.v2.VersionToPath.Builder.class);
   }
 
   public static final int PATH_FIELD_NUMBER = 1;
   private volatile java.lang.Object path_;
   /**
-   *
-   *
    * 
    * Required. The relative path of the secret in the container.
    * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getPath() { 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(); path_ = s; return s; } } /** - * - * *
    * Required. The relative path of the secret in the container.
    * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -121,15 +99,13 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -138,30 +114,31 @@ 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; } } /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * 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 { @@ -172,8 +149,6 @@ public com.google.protobuf.ByteString getVersionBytes() { public static final int MODE_FIELD_NUMBER = 3; private int mode_; /** - * - * *
    * Integer octal mode bits to use on this file, must be a value between
    * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
@@ -191,7 +166,6 @@ public com.google.protobuf.ByteString getVersionBytes() {
    * 
* * int32 mode = 3; - * * @return The mode. */ @java.lang.Override @@ -200,7 +174,6 @@ public int getMode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,7 +185,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(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } @@ -238,7 +212,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); } if (mode_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, mode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -248,16 +223,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.run.v2.VersionToPath)) { return super.equals(obj); } com.google.cloud.run.v2.VersionToPath other = (com.google.cloud.run.v2.VersionToPath) obj; - if (!getPath().equals(other.getPath())) return false; - if (!getVersion().equals(other.getVersion())) return false; - if (getMode() != other.getMode()) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; + if (getMode() + != other.getMode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -280,103 +258,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.VersionToPath parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.VersionToPath parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VersionToPath 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.run.v2.VersionToPath parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.VersionToPath parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VersionToPath 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.run.v2.VersionToPath parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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.run.v2.VersionToPath 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; } /** - * - * *
    * VersionToPath maps a specific version of a secret to a relative file to mount
    * to, relative to VolumeMount's mount_path.
@@ -384,32 +356,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.VersionToPath}
    */
-  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.run.v2.VersionToPath)
       com.google.cloud.run.v2.VersionToPathOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_VersionToPath_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VersionToPath_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VersionToPath_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.VersionToPath.class,
-              com.google.cloud.run.v2.VersionToPath.Builder.class);
+              com.google.cloud.run.v2.VersionToPath.class, com.google.cloud.run.v2.VersionToPath.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.VersionToPath.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,9 +396,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.K8sMinProto
-          .internal_static_google_cloud_run_v2_VersionToPath_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VersionToPath_descriptor;
     }
 
     @java.lang.Override
@@ -444,8 +417,7 @@ public com.google.cloud.run.v2.VersionToPath build() {
 
     @java.lang.Override
     public com.google.cloud.run.v2.VersionToPath buildPartial() {
-      com.google.cloud.run.v2.VersionToPath result =
-          new com.google.cloud.run.v2.VersionToPath(this);
+      com.google.cloud.run.v2.VersionToPath result = new com.google.cloud.run.v2.VersionToPath(this);
       result.path_ = path_;
       result.version_ = version_;
       result.mode_ = mode_;
@@ -457,39 +429,38 @@ public com.google.cloud.run.v2.VersionToPath 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.run.v2.VersionToPath) {
-        return mergeFrom((com.google.cloud.run.v2.VersionToPath) other);
+        return mergeFrom((com.google.cloud.run.v2.VersionToPath)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,31 +506,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                path_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                version_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                mode_ = input.readInt32();
-
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              path_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              version_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              mode_ = input.readInt32();
+
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -572,20 +539,18 @@ public Builder mergeFrom(
 
     private java.lang.Object path_ = "";
     /**
-     *
-     *
      * 
      * Required. The relative path of the secret in the container.
      * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; @@ -594,21 +559,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The relative path of the secret in the container.
      * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; 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); path_ = b; return b; } else { @@ -616,61 +580,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The relative path of the secret in the container.
      * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The relative path of the secret in the container.
      * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The relative path of the secret in the container.
      * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -678,21 +635,20 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * 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; @@ -701,22 +657,22 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * 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 { @@ -724,73 +680,67 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * 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; } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The Cloud Secret Manager secret version.
-     * Can be 'latest' for the latest value or an integer for a specific version.
+     * Can be 'latest' for the latest value, or an integer or a secret alias for a
+     * specific version.
      * 
* * 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; } - private int mode_; + private int mode_ ; /** - * - * *
      * Integer octal mode bits to use on this file, must be a value between
      * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
@@ -808,7 +758,6 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 mode = 3; - * * @return The mode. */ @java.lang.Override @@ -816,8 +765,6 @@ public int getMode() { return mode_; } /** - * - * *
      * Integer octal mode bits to use on this file, must be a value between
      * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
@@ -835,19 +782,16 @@ public int getMode() {
      * 
* * int32 mode = 3; - * * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(int value) { - + mode_ = value; onChanged(); return this; } /** - * - * *
      * Integer octal mode bits to use on this file, must be a value between
      * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
@@ -865,18 +809,17 @@ public Builder setMode(int value) {
      * 
* * int32 mode = 3; - * * @return This builder for chaining. */ public Builder clearMode() { - + mode_ = 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); } @@ -886,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.VersionToPath) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.VersionToPath) private static final com.google.cloud.run.v2.VersionToPath DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.VersionToPath(); } @@ -900,27 +843,27 @@ public static com.google.cloud.run.v2.VersionToPath getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VersionToPath parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VersionToPath parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -935,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.VersionToPath getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java similarity index 66% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java index 4002f7ce3eb1..c93a9163be85 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VersionToPathOrBuilder.java @@ -1,83 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface VersionToPathOrBuilder - extends +public interface VersionToPathOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.VersionToPath) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The relative path of the secret in the container.
    * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The relative path of the secret in the container.
    * 
* * string path = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The Cloud Secret Manager secret version.
-   * Can be 'latest' for the latest value or an integer for a specific version.
+   * Can be 'latest' for the latest value, or an integer or a secret alias for a
+   * specific version.
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); /** - * - * *
    * Integer octal mode bits to use on this file, must be a value between
    * 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
@@ -95,7 +69,6 @@ public interface VersionToPathOrBuilder
    * 
* * int32 mode = 3; - * * @return The mode. */ int getMode(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java similarity index 73% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java index 052a0e02d68b..046b8ab679fb 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/Volume.java @@ -1,83 +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/run/v2/k8s.min.proto package com.google.cloud.run.v2; /** - * - * *
  * Volume represents a named volume in a container.
  * 
* * Protobuf type {@code google.cloud.run.v2.Volume} */ -public final class Volume extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Volume extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.Volume) VolumeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Volume.newBuilder() to construct. private Volume(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Volume() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Volume(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_Volume_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Volume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_Volume_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Volume_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.Volume.class, com.google.cloud.run.v2.Volume.Builder.class); } private int volumeTypeCase_ = 0; private java.lang.Object volumeType_; - public enum VolumeTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SECRET(2), CLOUD_SQL_INSTANCE(3), VOLUMETYPE_NOT_SET(0); private final int value; - private VolumeTypeCase(int value) { this.value = value; } @@ -93,37 +72,31 @@ public static VolumeTypeCase valueOf(int value) { public static VolumeTypeCase forNumber(int value) { switch (value) { - case 2: - return SECRET; - case 3: - return CLOUD_SQL_INSTANCE; - case 0: - return VOLUMETYPE_NOT_SET; - default: - return null; + case 2: return SECRET; + case 3: return CLOUD_SQL_INSTANCE; + case 0: return VOLUMETYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public VolumeTypeCase getVolumeTypeCase() { - return VolumeTypeCase.forNumber(volumeTypeCase_); + public VolumeTypeCase + getVolumeTypeCase() { + return VolumeTypeCase.forNumber( + volumeTypeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. Volume's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +105,29 @@ 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. Volume's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -164,15 +137,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SECRET_FIELD_NUMBER = 2; /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return Whether the secret field is set. */ @java.lang.Override @@ -180,27 +150,22 @@ public boolean hasSecret() { return volumeTypeCase_ == 2; } /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return The secret. */ @java.lang.Override public com.google.cloud.run.v2.SecretVolumeSource getSecret() { if (volumeTypeCase_ == 2) { - return (com.google.cloud.run.v2.SecretVolumeSource) volumeType_; + return (com.google.cloud.run.v2.SecretVolumeSource) volumeType_; } return com.google.cloud.run.v2.SecretVolumeSource.getDefaultInstance(); } /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -211,15 +176,13 @@ public com.google.cloud.run.v2.SecretVolumeSource getSecret() {
   @java.lang.Override
   public com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder() {
     if (volumeTypeCase_ == 2) {
-      return (com.google.cloud.run.v2.SecretVolumeSource) volumeType_;
+       return (com.google.cloud.run.v2.SecretVolumeSource) volumeType_;
     }
     return com.google.cloud.run.v2.SecretVolumeSource.getDefaultInstance();
   }
 
   public static final int CLOUD_SQL_INSTANCE_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -227,7 +190,6 @@ public com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder()
    * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -235,8 +197,6 @@ public boolean hasCloudSqlInstance() { return volumeTypeCase_ == 3; } /** - * - * *
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -244,19 +204,16 @@ public boolean hasCloudSqlInstance() {
    * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return The cloudSqlInstance. */ @java.lang.Override public com.google.cloud.run.v2.CloudSqlInstance getCloudSqlInstance() { if (volumeTypeCase_ == 3) { - return (com.google.cloud.run.v2.CloudSqlInstance) volumeType_; + return (com.google.cloud.run.v2.CloudSqlInstance) volumeType_; } return com.google.cloud.run.v2.CloudSqlInstance.getDefaultInstance(); } /** - * - * *
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -268,13 +225,12 @@ public com.google.cloud.run.v2.CloudSqlInstance getCloudSqlInstance() {
   @java.lang.Override
   public com.google.cloud.run.v2.CloudSqlInstanceOrBuilder getCloudSqlInstanceOrBuilder() {
     if (volumeTypeCase_ == 3) {
-      return (com.google.cloud.run.v2.CloudSqlInstance) volumeType_;
+       return (com.google.cloud.run.v2.CloudSqlInstance) volumeType_;
     }
     return com.google.cloud.run.v2.CloudSqlInstance.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -286,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(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -309,14 +266,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (volumeTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.cloud.run.v2.SecretVolumeSource) volumeType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.cloud.run.v2.SecretVolumeSource) volumeType_);
     }
     if (volumeTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.cloud.run.v2.CloudSqlInstance) volumeType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.cloud.run.v2.CloudSqlInstance) volumeType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -326,21 +281,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.run.v2.Volume)) {
       return super.equals(obj);
     }
     com.google.cloud.run.v2.Volume other = (com.google.cloud.run.v2.Volume) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (!getVolumeTypeCase().equals(other.getVolumeTypeCase())) return false;
     switch (volumeTypeCase_) {
       case 2:
-        if (!getSecret().equals(other.getSecret())) return false;
+        if (!getSecret()
+            .equals(other.getSecret())) return false;
         break;
       case 3:
-        if (!getCloudSqlInstance().equals(other.getCloudSqlInstance())) return false;
+        if (!getCloudSqlInstance()
+            .equals(other.getCloudSqlInstance())) return false;
         break;
       case 0:
       default:
@@ -375,134 +333,130 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.cloud.run.v2.Volume parseFrom(java.nio.ByteBuffer data)
+  public static com.google.cloud.run.v2.Volume parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Volume 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.run.v2.Volume parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.cloud.run.v2.Volume parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Volume 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.run.v2.Volume parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.cloud.run.v2.Volume 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.run.v2.Volume 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.run.v2.Volume 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.run.v2.Volume 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.run.v2.Volume 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.run.v2.Volume parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.cloud.run.v2.Volume parseFrom(
+      com.google.protobuf.CodedInputStream 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.run.v2.Volume 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.run.v2.Volume 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;
   }
   /**
-   *
-   *
    * 
    * Volume represents a named volume in a container.
    * 
* * Protobuf type {@code google.cloud.run.v2.Volume} */ - 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.run.v2.Volume) com.google.cloud.run.v2.VolumeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_Volume_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Volume_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_Volume_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Volume_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.run.v2.Volume.class, com.google.cloud.run.v2.Volume.Builder.class); } // Construct using com.google.cloud.run.v2.Volume.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_Volume_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_Volume_descriptor; } @java.lang.Override @@ -566,39 +520,38 @@ public com.google.cloud.run.v2.Volume 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.run.v2.Volume) { - return mergeFrom((com.google.cloud.run.v2.Volume) other); + return mergeFrom((com.google.cloud.run.v2.Volume)other); } else { super.mergeFrom(other); return this; @@ -612,20 +565,17 @@ public Builder mergeFrom(com.google.cloud.run.v2.Volume other) { onChanged(); } switch (other.getVolumeTypeCase()) { - case SECRET: - { - mergeSecret(other.getSecret()); - break; - } - case CLOUD_SQL_INSTANCE: - { - mergeCloudSqlInstance(other.getCloudSqlInstance()); - break; - } - case VOLUMETYPE_NOT_SET: - { - break; - } + case SECRET: { + mergeSecret(other.getSecret()); + break; + } + case CLOUD_SQL_INSTANCE: { + mergeCloudSqlInstance(other.getCloudSqlInstance()); + break; + } + case VOLUMETYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -653,32 +603,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); + case 10: { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getSecretFieldBuilder().getBuilder(), extensionRegistry); - volumeTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getCloudSqlInstanceFieldBuilder().getBuilder(), extensionRegistry); - volumeTypeCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 10 + case 18: { + input.readMessage( + getSecretFieldBuilder().getBuilder(), + extensionRegistry); + volumeTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getCloudSqlInstanceFieldBuilder().getBuilder(), + extensionRegistry); + volumeTypeCase_ = 3; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -688,12 +637,12 @@ public Builder mergeFrom( } // finally return this; } - private int volumeTypeCase_ = 0; private java.lang.Object volumeType_; - - public VolumeTypeCase getVolumeTypeCase() { - return VolumeTypeCase.forNumber(volumeTypeCase_); + public VolumeTypeCase + getVolumeTypeCase() { + return VolumeTypeCase.forNumber( + volumeTypeCase_); } public Builder clearVolumeType() { @@ -703,22 +652,21 @@ public Builder clearVolumeType() { return this; } + private java.lang.Object name_ = ""; /** - * - * *
      * Required. Volume's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -727,21 +675,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Volume's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -749,81 +696,68 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Volume's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. Volume's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. Volume's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.run.v2.SecretVolumeSource, - com.google.cloud.run.v2.SecretVolumeSource.Builder, - com.google.cloud.run.v2.SecretVolumeSourceOrBuilder> - secretBuilder_; + com.google.cloud.run.v2.SecretVolumeSource, com.google.cloud.run.v2.SecretVolumeSource.Builder, com.google.cloud.run.v2.SecretVolumeSourceOrBuilder> secretBuilder_; /** - * - * *
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
      * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return Whether the secret field is set. */ @java.lang.Override @@ -831,15 +765,12 @@ public boolean hasSecret() { return volumeTypeCase_ == 2; } /** - * - * *
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
      * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return The secret. */ @java.lang.Override @@ -857,8 +788,6 @@ public com.google.cloud.run.v2.SecretVolumeSource getSecret() { } } /** - * - * *
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -880,8 +809,6 @@ public Builder setSecret(com.google.cloud.run.v2.SecretVolumeSource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -889,7 +816,8 @@ public Builder setSecret(com.google.cloud.run.v2.SecretVolumeSource value) {
      *
      * .google.cloud.run.v2.SecretVolumeSource secret = 2;
      */
-    public Builder setSecret(com.google.cloud.run.v2.SecretVolumeSource.Builder builderForValue) {
+    public Builder setSecret(
+        com.google.cloud.run.v2.SecretVolumeSource.Builder builderForValue) {
       if (secretBuilder_ == null) {
         volumeType_ = builderForValue.build();
         onChanged();
@@ -900,8 +828,6 @@ public Builder setSecret(com.google.cloud.run.v2.SecretVolumeSource.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -911,13 +837,10 @@ public Builder setSecret(com.google.cloud.run.v2.SecretVolumeSource.Builder buil
      */
     public Builder mergeSecret(com.google.cloud.run.v2.SecretVolumeSource value) {
       if (secretBuilder_ == null) {
-        if (volumeTypeCase_ == 2
-            && volumeType_ != com.google.cloud.run.v2.SecretVolumeSource.getDefaultInstance()) {
-          volumeType_ =
-              com.google.cloud.run.v2.SecretVolumeSource.newBuilder(
-                      (com.google.cloud.run.v2.SecretVolumeSource) volumeType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (volumeTypeCase_ == 2 &&
+            volumeType_ != com.google.cloud.run.v2.SecretVolumeSource.getDefaultInstance()) {
+          volumeType_ = com.google.cloud.run.v2.SecretVolumeSource.newBuilder((com.google.cloud.run.v2.SecretVolumeSource) volumeType_)
+              .mergeFrom(value).buildPartial();
         } else {
           volumeType_ = value;
         }
@@ -933,8 +856,6 @@ public Builder mergeSecret(com.google.cloud.run.v2.SecretVolumeSource value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -959,8 +880,6 @@ public Builder clearSecret() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -972,8 +891,6 @@ public com.google.cloud.run.v2.SecretVolumeSource.Builder getSecretBuilder() {
       return getSecretFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -993,8 +910,6 @@ public com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Secret represents a secret that should populate this volume.
      * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -1003,38 +918,27 @@ public com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder()
      * .google.cloud.run.v2.SecretVolumeSource secret = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.SecretVolumeSource,
-            com.google.cloud.run.v2.SecretVolumeSource.Builder,
-            com.google.cloud.run.v2.SecretVolumeSourceOrBuilder>
+        com.google.cloud.run.v2.SecretVolumeSource, com.google.cloud.run.v2.SecretVolumeSource.Builder, com.google.cloud.run.v2.SecretVolumeSourceOrBuilder> 
         getSecretFieldBuilder() {
       if (secretBuilder_ == null) {
         if (!(volumeTypeCase_ == 2)) {
           volumeType_ = com.google.cloud.run.v2.SecretVolumeSource.getDefaultInstance();
         }
-        secretBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.SecretVolumeSource,
-                com.google.cloud.run.v2.SecretVolumeSource.Builder,
-                com.google.cloud.run.v2.SecretVolumeSourceOrBuilder>(
+        secretBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.SecretVolumeSource, com.google.cloud.run.v2.SecretVolumeSource.Builder, com.google.cloud.run.v2.SecretVolumeSourceOrBuilder>(
                 (com.google.cloud.run.v2.SecretVolumeSource) volumeType_,
                 getParentForChildren(),
                 isClean());
         volumeType_ = null;
       }
       volumeTypeCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return secretBuilder_;
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.CloudSqlInstance,
-            com.google.cloud.run.v2.CloudSqlInstance.Builder,
-            com.google.cloud.run.v2.CloudSqlInstanceOrBuilder>
-        cloudSqlInstanceBuilder_;
+        com.google.cloud.run.v2.CloudSqlInstance, com.google.cloud.run.v2.CloudSqlInstance.Builder, com.google.cloud.run.v2.CloudSqlInstanceOrBuilder> cloudSqlInstanceBuilder_;
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1042,7 +946,6 @@ public com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder()
      * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return Whether the cloudSqlInstance field is set. */ @java.lang.Override @@ -1050,8 +953,6 @@ public boolean hasCloudSqlInstance() { return volumeTypeCase_ == 3; } /** - * - * *
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1059,7 +960,6 @@ public boolean hasCloudSqlInstance() {
      * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return The cloudSqlInstance. */ @java.lang.Override @@ -1077,8 +977,6 @@ public com.google.cloud.run.v2.CloudSqlInstance getCloudSqlInstance() { } } /** - * - * *
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1101,8 +999,6 @@ public Builder setCloudSqlInstance(com.google.cloud.run.v2.CloudSqlInstance valu
       return this;
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1123,8 +1019,6 @@ public Builder setCloudSqlInstance(
       return this;
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1135,13 +1029,10 @@ public Builder setCloudSqlInstance(
      */
     public Builder mergeCloudSqlInstance(com.google.cloud.run.v2.CloudSqlInstance value) {
       if (cloudSqlInstanceBuilder_ == null) {
-        if (volumeTypeCase_ == 3
-            && volumeType_ != com.google.cloud.run.v2.CloudSqlInstance.getDefaultInstance()) {
-          volumeType_ =
-              com.google.cloud.run.v2.CloudSqlInstance.newBuilder(
-                      (com.google.cloud.run.v2.CloudSqlInstance) volumeType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (volumeTypeCase_ == 3 &&
+            volumeType_ != com.google.cloud.run.v2.CloudSqlInstance.getDefaultInstance()) {
+          volumeType_ = com.google.cloud.run.v2.CloudSqlInstance.newBuilder((com.google.cloud.run.v2.CloudSqlInstance) volumeType_)
+              .mergeFrom(value).buildPartial();
         } else {
           volumeType_ = value;
         }
@@ -1157,8 +1048,6 @@ public Builder mergeCloudSqlInstance(com.google.cloud.run.v2.CloudSqlInstance va
       return this;
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1184,8 +1073,6 @@ public Builder clearCloudSqlInstance() {
       return this;
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1198,8 +1085,6 @@ public com.google.cloud.run.v2.CloudSqlInstance.Builder getCloudSqlInstanceBuild
       return getCloudSqlInstanceFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1220,8 +1105,6 @@ public com.google.cloud.run.v2.CloudSqlInstanceOrBuilder getCloudSqlInstanceOrBu
       }
     }
     /**
-     *
-     *
      * 
      * For Cloud SQL volumes, contains the specific instances that should be
      * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -1231,32 +1114,26 @@ public com.google.cloud.run.v2.CloudSqlInstanceOrBuilder getCloudSqlInstanceOrBu
      * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.run.v2.CloudSqlInstance,
-            com.google.cloud.run.v2.CloudSqlInstance.Builder,
-            com.google.cloud.run.v2.CloudSqlInstanceOrBuilder>
+        com.google.cloud.run.v2.CloudSqlInstance, com.google.cloud.run.v2.CloudSqlInstance.Builder, com.google.cloud.run.v2.CloudSqlInstanceOrBuilder> 
         getCloudSqlInstanceFieldBuilder() {
       if (cloudSqlInstanceBuilder_ == null) {
         if (!(volumeTypeCase_ == 3)) {
           volumeType_ = com.google.cloud.run.v2.CloudSqlInstance.getDefaultInstance();
         }
-        cloudSqlInstanceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.run.v2.CloudSqlInstance,
-                com.google.cloud.run.v2.CloudSqlInstance.Builder,
-                com.google.cloud.run.v2.CloudSqlInstanceOrBuilder>(
+        cloudSqlInstanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.run.v2.CloudSqlInstance, com.google.cloud.run.v2.CloudSqlInstance.Builder, com.google.cloud.run.v2.CloudSqlInstanceOrBuilder>(
                 (com.google.cloud.run.v2.CloudSqlInstance) volumeType_,
                 getParentForChildren(),
                 isClean());
         volumeType_ = null;
       }
       volumeTypeCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return cloudSqlInstanceBuilder_;
     }
-
     @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);
     }
 
@@ -1266,12 +1143,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.Volume)
   }
 
   // @@protoc_insertion_point(class_scope:google.cloud.run.v2.Volume)
   private static final com.google.cloud.run.v2.Volume DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.cloud.run.v2.Volume();
   }
@@ -1280,27 +1157,27 @@ public static com.google.cloud.run.v2.Volume getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Volume parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Volume parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1315,4 +1192,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.cloud.run.v2.Volume getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java
similarity index 70%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java
index f0b021e85844..9678361dd733 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMount.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/run/v2/k8s.min.proto
 
 package com.google.cloud.run.v2;
 
 /**
- *
- *
  * 
  * VolumeMount describes a mounting of a Volume within a container.
  * 
* * Protobuf type {@code google.cloud.run.v2.VolumeMount} */ -public final class VolumeMount extends com.google.protobuf.GeneratedMessageV3 - implements +public final class VolumeMount extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.run.v2.VolumeMount) VolumeMountOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use VolumeMount.newBuilder() to construct. private VolumeMount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private VolumeMount() { name_ = ""; mountPath_ = ""; @@ -44,41 +26,37 @@ private VolumeMount() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new VolumeMount(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_VolumeMount_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VolumeMount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.VolumeMount.class, - com.google.cloud.run.v2.VolumeMount.Builder.class); + com.google.cloud.run.v2.VolumeMount.class, com.google.cloud.run.v2.VolumeMount.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. This must match the Name of a Volume.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ 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. This must match the Name of a Volume.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -120,8 +98,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int MOUNT_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object mountPath_; /** - * - * *
    * Required. Path within the container at which the volume should be mounted.  Must
    * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -131,7 +107,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mountPath. */ @java.lang.Override @@ -140,15 +115,14 @@ public java.lang.String getMountPath() { 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(); mountPath_ = s; return s; } } /** - * - * *
    * Required. Path within the container at which the volume should be mounted.  Must
    * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -158,15 +132,16 @@ public java.lang.String getMountPath() {
    * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mountPath. */ @java.lang.Override - public com.google.protobuf.ByteString getMountPathBytes() { + public com.google.protobuf.ByteString + getMountPathBytes() { java.lang.Object ref = mountPath_; 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); mountPath_ = b; return b; } else { @@ -175,7 +150,6 @@ public com.google.protobuf.ByteString getMountPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +161,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_); } @@ -217,15 +192,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.run.v2.VolumeMount)) { return super.equals(obj); } com.google.cloud.run.v2.VolumeMount other = (com.google.cloud.run.v2.VolumeMount) obj; - if (!getName().equals(other.getName())) return false; - if (!getMountPath().equals(other.getMountPath())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getMountPath() + .equals(other.getMountPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -246,135 +223,130 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.VolumeMount parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.VolumeMount parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VolumeMount 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.run.v2.VolumeMount parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.VolumeMount parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VolumeMount 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.run.v2.VolumeMount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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.run.v2.VolumeMount 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; } /** - * - * *
    * VolumeMount describes a mounting of a Volume within a container.
    * 
* * Protobuf type {@code google.cloud.run.v2.VolumeMount} */ - 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.run.v2.VolumeMount) com.google.cloud.run.v2.VolumeMountOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_VolumeMount_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VolumeMount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VolumeMount_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.run.v2.VolumeMount.class, - com.google.cloud.run.v2.VolumeMount.Builder.class); + com.google.cloud.run.v2.VolumeMount.class, com.google.cloud.run.v2.VolumeMount.Builder.class); } // Construct using com.google.cloud.run.v2.VolumeMount.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +358,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.run.v2.K8sMinProto - .internal_static_google_cloud_run_v2_VolumeMount_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.run.v2.K8sMinProto.internal_static_google_cloud_run_v2_VolumeMount_descriptor; } @java.lang.Override @@ -418,39 +390,38 @@ public com.google.cloud.run.v2.VolumeMount 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.run.v2.VolumeMount) { - return mergeFrom((com.google.cloud.run.v2.VolumeMount) other); + return mergeFrom((com.google.cloud.run.v2.VolumeMount)other); } else { super.mergeFrom(other); return this; @@ -493,25 +464,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 26: - { - mountPath_ = input.readStringRequireUtf8(); - - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 26: { + mountPath_ = input.readStringRequireUtf8(); + + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -524,20 +492,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. This must match the Name of a Volume.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -546,21 +512,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. This must match the Name of a Volume.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -568,61 +533,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. This must match the Name of a Volume.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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. This must match the Name of a Volume.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. This must match the Name of a Volume.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -630,8 +588,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object mountPath_ = ""; /** - * - * *
      * Required. Path within the container at which the volume should be mounted.  Must
      * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -641,13 +597,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mountPath. */ public java.lang.String getMountPath() { java.lang.Object ref = mountPath_; 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(); mountPath_ = s; return s; @@ -656,8 +612,6 @@ public java.lang.String getMountPath() { } } /** - * - * *
      * Required. Path within the container at which the volume should be mounted.  Must
      * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -667,14 +621,15 @@ public java.lang.String getMountPath() {
      * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mountPath. */ - public com.google.protobuf.ByteString getMountPathBytes() { + public com.google.protobuf.ByteString + getMountPathBytes() { java.lang.Object ref = mountPath_; 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); mountPath_ = b; return b; } else { @@ -682,8 +637,6 @@ public com.google.protobuf.ByteString getMountPathBytes() { } } /** - * - * *
      * Required. Path within the container at which the volume should be mounted.  Must
      * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -693,22 +646,20 @@ public com.google.protobuf.ByteString getMountPathBytes() {
      * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The mountPath to set. * @return This builder for chaining. */ - public Builder setMountPath(java.lang.String value) { + public Builder setMountPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mountPath_ = value; onChanged(); return this; } /** - * - * *
      * Required. Path within the container at which the volume should be mounted.  Must
      * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -718,18 +669,15 @@ public Builder setMountPath(java.lang.String value) {
      * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMountPath() { - + mountPath_ = getDefaultInstance().getMountPath(); onChanged(); return this; } /** - * - * *
      * Required. Path within the container at which the volume should be mounted.  Must
      * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -739,23 +687,23 @@ public Builder clearMountPath() {
      * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for mountPath to set. * @return This builder for chaining. */ - public Builder setMountPathBytes(com.google.protobuf.ByteString value) { + public Builder setMountPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mountPath_ = 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); } @@ -765,12 +713,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.VolumeMount) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.VolumeMount) private static final com.google.cloud.run.v2.VolumeMount DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.VolumeMount(); } @@ -779,27 +727,27 @@ public static com.google.cloud.run.v2.VolumeMount getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VolumeMount parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VolumeMount parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -814,4 +762,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.VolumeMount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java similarity index 69% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java index c9a43356d0da..5d944ac46672 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeMountOrBuilder.java @@ -1,56 +1,33 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface VolumeMountOrBuilder - extends +public interface VolumeMountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.VolumeMount) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. This must match the Name of a Volume.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. This must match the Name of a Volume.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Path within the container at which the volume should be mounted.  Must
    * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -60,13 +37,10 @@ public interface VolumeMountOrBuilder
    * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The mountPath. */ java.lang.String getMountPath(); /** - * - * *
    * Required. Path within the container at which the volume should be mounted.  Must
    * not contain ':'. For Cloud SQL volumes, it can be left empty, or must
@@ -76,8 +50,8 @@ public interface VolumeMountOrBuilder
    * 
* * string mount_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for mountPath. */ - com.google.protobuf.ByteString getMountPathBytes(); + com.google.protobuf.ByteString + getMountPathBytes(); } diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java similarity index 78% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java index d9311c199cf5..8437d5b2a083 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VolumeOrBuilder.java @@ -1,82 +1,53 @@ -/* - * 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/run/v2/k8s.min.proto package com.google.cloud.run.v2; -public interface VolumeOrBuilder - extends +public interface VolumeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.Volume) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Volume's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. Volume's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return Whether the secret field is set. */ boolean hasSecret(); /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
    * 
* * .google.cloud.run.v2.SecretVolumeSource secret = 2; - * * @return The secret. */ com.google.cloud.run.v2.SecretVolumeSource getSecret(); /** - * - * *
    * Secret represents a secret that should populate this volume.
    * More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
@@ -87,8 +58,6 @@ public interface VolumeOrBuilder
   com.google.cloud.run.v2.SecretVolumeSourceOrBuilder getSecretOrBuilder();
 
   /**
-   *
-   *
    * 
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -96,13 +65,10 @@ public interface VolumeOrBuilder
    * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return Whether the cloudSqlInstance field is set. */ boolean hasCloudSqlInstance(); /** - * - * *
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
@@ -110,13 +76,10 @@ public interface VolumeOrBuilder
    * 
* * .google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3; - * * @return The cloudSqlInstance. */ com.google.cloud.run.v2.CloudSqlInstance getCloudSqlInstance(); /** - * - * *
    * For Cloud SQL volumes, contains the specific instances that should be
    * mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java
similarity index 69%
rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java
rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java
index 3a1de9a6e951..d103426b8792 100644
--- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.java
+++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccess.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/run/v2/vendor_settings.proto
 
 package com.google.cloud.run.v2;
 
 /**
- *
- *
  * 
  * VPC Access settings. For more information on creating a VPC Connector, visit
  * https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.cloud.run.v2.VpcAccess}
  */
-public final class VpcAccess extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class VpcAccess extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.run.v2.VpcAccess)
     VpcAccessOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use VpcAccess.newBuilder() to construct.
   private VpcAccess(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private VpcAccess() {
     connector_ = "";
     egress_ = 0;
@@ -47,43 +29,39 @@ private VpcAccess() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new VpcAccess();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.run.v2.VendorSettingsProto
-        .internal_static_google_cloud_run_v2_VpcAccess_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_VpcAccess_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.run.v2.VendorSettingsProto
-        .internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable
+    return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.run.v2.VpcAccess.class,
-            com.google.cloud.run.v2.VpcAccess.Builder.class);
+            com.google.cloud.run.v2.VpcAccess.class, com.google.cloud.run.v2.VpcAccess.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Egress options for VPC access.
    * 
* * Protobuf enum {@code google.cloud.run.v2.VpcAccess.VpcEgress} */ - public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { + public enum VpcEgress + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified
      * 
@@ -92,8 +70,6 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { */ VPC_EGRESS_UNSPECIFIED(0), /** - * - * *
      * All outbound traffic is routed through the VPC connector.
      * 
@@ -102,8 +78,6 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { */ ALL_TRAFFIC(1), /** - * - * *
      * Only private IP ranges are routed through the VPC connector.
      * 
@@ -115,8 +89,6 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified
      * 
@@ -125,8 +97,6 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VPC_EGRESS_UNSPECIFIED_VALUE = 0; /** - * - * *
      * All outbound traffic is routed through the VPC connector.
      * 
@@ -135,8 +105,6 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALL_TRAFFIC_VALUE = 1; /** - * - * *
      * Only private IP ranges are routed through the VPC connector.
      * 
@@ -145,6 +113,7 @@ public enum VpcEgress implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PRIVATE_RANGES_ONLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -169,49 +138,49 @@ public static VpcEgress valueOf(int value) { */ public static VpcEgress forNumber(int value) { switch (value) { - case 0: - return VPC_EGRESS_UNSPECIFIED; - case 1: - return ALL_TRAFFIC; - case 2: - return PRIVATE_RANGES_ONLY; - default: - return null; + case 0: return VPC_EGRESS_UNSPECIFIED; + case 1: return ALL_TRAFFIC; + case 2: return PRIVATE_RANGES_ONLY; + 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< + VpcEgress> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VpcEgress findValueByNumber(int number) { + return VpcEgress.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VpcEgress findValueByNumber(int number) { - return VpcEgress.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.run.v2.VpcAccess.getDescriptor().getEnumTypes().get(0); } private static final VpcEgress[] VALUES = values(); - public static VpcEgress valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VpcEgress 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; @@ -231,15 +200,13 @@ private VpcEgress(int value) { public static final int CONNECTOR_FIELD_NUMBER = 1; private volatile java.lang.Object connector_; /** - * - * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The connector. */ @java.lang.Override @@ -248,30 +215,31 @@ public java.lang.String getConnector() { 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(); connector_ = s; return s; } } /** - * - * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for connector. */ @java.lang.Override - public com.google.protobuf.ByteString getConnectorBytes() { + public com.google.protobuf.ByteString + getConnectorBytes() { java.lang.Object ref = connector_; 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); connector_ = b; return b; } else { @@ -282,41 +250,31 @@ public com.google.protobuf.ByteString getConnectorBytes() { public static final int EGRESS_FIELD_NUMBER = 2; private int egress_; /** - * - * *
    * Traffic VPC egress settings.
    * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The enum numeric value on the wire for egress. */ - @java.lang.Override - public int getEgressValue() { + @java.lang.Override public int getEgressValue() { return egress_; } /** - * - * *
    * Traffic VPC egress settings.
    * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The egress. */ - @java.lang.Override - public com.google.cloud.run.v2.VpcAccess.VpcEgress getEgress() { + @java.lang.Override public com.google.cloud.run.v2.VpcAccess.VpcEgress getEgress() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.VpcAccess.VpcEgress result = - com.google.cloud.run.v2.VpcAccess.VpcEgress.valueOf(egress_); + com.google.cloud.run.v2.VpcAccess.VpcEgress result = com.google.cloud.run.v2.VpcAccess.VpcEgress.valueOf(egress_); return result == null ? com.google.cloud.run.v2.VpcAccess.VpcEgress.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +286,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(connector_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, connector_); } @@ -348,7 +307,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connector_); } if (egress_ != com.google.cloud.run.v2.VpcAccess.VpcEgress.VPC_EGRESS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, egress_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, egress_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -358,14 +318,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.run.v2.VpcAccess)) { return super.equals(obj); } com.google.cloud.run.v2.VpcAccess other = (com.google.cloud.run.v2.VpcAccess) obj; - if (!getConnector().equals(other.getConnector())) return false; + if (!getConnector() + .equals(other.getConnector())) return false; if (egress_ != other.egress_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -387,103 +348,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.run.v2.VpcAccess parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.run.v2.VpcAccess parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VpcAccess 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.run.v2.VpcAccess parseFrom(com.google.protobuf.ByteString data) + public static com.google.cloud.run.v2.VpcAccess parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VpcAccess 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.run.v2.VpcAccess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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.run.v2.VpcAccess 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; } /** - * - * *
    * VPC Access settings. For more information on creating a VPC Connector, visit
    * https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For
@@ -493,32 +448,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.run.v2.VpcAccess}
    */
-  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.run.v2.VpcAccess)
       com.google.cloud.run.v2.VpcAccessOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.run.v2.VendorSettingsProto
-          .internal_static_google_cloud_run_v2_VpcAccess_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_VpcAccess_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.run.v2.VendorSettingsProto
-          .internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable
+      return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_VpcAccess_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.run.v2.VpcAccess.class,
-              com.google.cloud.run.v2.VpcAccess.Builder.class);
+              com.google.cloud.run.v2.VpcAccess.class, com.google.cloud.run.v2.VpcAccess.Builder.class);
     }
 
     // Construct using com.google.cloud.run.v2.VpcAccess.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -530,9 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.run.v2.VendorSettingsProto
-          .internal_static_google_cloud_run_v2_VpcAccess_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.run.v2.VendorSettingsProto.internal_static_google_cloud_run_v2_VpcAccess_descriptor;
     }
 
     @java.lang.Override
@@ -562,39 +518,38 @@ public com.google.cloud.run.v2.VpcAccess 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.run.v2.VpcAccess) {
-        return mergeFrom((com.google.cloud.run.v2.VpcAccess) other);
+        return mergeFrom((com.google.cloud.run.v2.VpcAccess)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -636,25 +591,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                connector_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                egress_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              connector_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              egress_ = input.readEnum();
+
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -667,21 +619,20 @@ public Builder mergeFrom(
 
     private java.lang.Object connector_ = "";
     /**
-     *
-     *
      * 
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The connector. */ public java.lang.String getConnector() { java.lang.Object ref = connector_; 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(); connector_ = s; return s; @@ -690,22 +641,22 @@ public java.lang.String getConnector() { } } /** - * - * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for connector. */ - public com.google.protobuf.ByteString getConnectorBytes() { + public com.google.protobuf.ByteString + getConnectorBytes() { java.lang.Object ref = connector_; 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); connector_ = b; return b; } else { @@ -713,64 +664,60 @@ public com.google.protobuf.ByteString getConnectorBytes() { } } /** - * - * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @param value The connector to set. * @return This builder for chaining. */ - public Builder setConnector(java.lang.String value) { + public Builder setConnector( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + connector_ = value; onChanged(); return this; } /** - * - * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearConnector() { - + connector_ = getDefaultInstance().getConnector(); onChanged(); return this; } /** - * - * *
      * VPC Access connector name.
-     * Format: projects/{project}/locations/{location}/connectors/{connector}
+     * Format: projects/{project}/locations/{location}/connectors/{connector},
+     * where {project} can be project id or number.
      * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for connector to set. * @return This builder for chaining. */ - public Builder setConnectorBytes(com.google.protobuf.ByteString value) { + public Builder setConnectorBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + connector_ = value; onChanged(); return this; @@ -778,65 +725,51 @@ public Builder setConnectorBytes(com.google.protobuf.ByteString value) { private int egress_ = 0; /** - * - * *
      * Traffic VPC egress settings.
      * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The enum numeric value on the wire for egress. */ - @java.lang.Override - public int getEgressValue() { + @java.lang.Override public int getEgressValue() { return egress_; } /** - * - * *
      * Traffic VPC egress settings.
      * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @param value The enum numeric value on the wire for egress to set. * @return This builder for chaining. */ public Builder setEgressValue(int value) { - + egress_ = value; onChanged(); return this; } /** - * - * *
      * Traffic VPC egress settings.
      * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The egress. */ @java.lang.Override public com.google.cloud.run.v2.VpcAccess.VpcEgress getEgress() { @SuppressWarnings("deprecation") - com.google.cloud.run.v2.VpcAccess.VpcEgress result = - com.google.cloud.run.v2.VpcAccess.VpcEgress.valueOf(egress_); + com.google.cloud.run.v2.VpcAccess.VpcEgress result = com.google.cloud.run.v2.VpcAccess.VpcEgress.valueOf(egress_); return result == null ? com.google.cloud.run.v2.VpcAccess.VpcEgress.UNRECOGNIZED : result; } /** - * - * *
      * Traffic VPC egress settings.
      * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @param value The egress to set. * @return This builder for chaining. */ @@ -844,31 +777,28 @@ public Builder setEgress(com.google.cloud.run.v2.VpcAccess.VpcEgress value) { if (value == null) { throw new NullPointerException(); } - + egress_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Traffic VPC egress settings.
      * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return This builder for chaining. */ public Builder clearEgress() { - + egress_ = 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); } @@ -878,12 +808,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.run.v2.VpcAccess) } // @@protoc_insertion_point(class_scope:google.cloud.run.v2.VpcAccess) private static final com.google.cloud.run.v2.VpcAccess DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.run.v2.VpcAccess(); } @@ -892,27 +822,27 @@ public static com.google.cloud.run.v2.VpcAccess getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public VpcAccess parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public VpcAccess parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -927,4 +857,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.run.v2.VpcAccess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java similarity index 61% rename from java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java index 76469f43e4a6..7655a7ec9d27 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/java/com/google/cloud/run/v2/VpcAccessOrBuilder.java @@ -1,76 +1,51 @@ -/* - * 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/run/v2/vendor_settings.proto package com.google.cloud.run.v2; -public interface VpcAccessOrBuilder - extends +public interface VpcAccessOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.run.v2.VpcAccess) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The connector. */ java.lang.String getConnector(); /** - * - * *
    * VPC Access connector name.
-   * Format: projects/{project}/locations/{location}/connectors/{connector}
+   * Format: projects/{project}/locations/{location}/connectors/{connector},
+   * where {project} can be project id or number.
    * 
* * string connector = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for connector. */ - com.google.protobuf.ByteString getConnectorBytes(); + com.google.protobuf.ByteString + getConnectorBytes(); /** - * - * *
    * Traffic VPC egress settings.
    * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The enum numeric value on the wire for egress. */ int getEgressValue(); /** - * - * *
    * Traffic VPC egress settings.
    * 
* * .google.cloud.run.v2.VpcAccess.VpcEgress egress = 2; - * * @return The egress. */ com.google.cloud.run.v2.VpcAccess.VpcEgress getEgress(); diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto similarity index 99% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto index 74f24df8459f..bfc65364739b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/condition.proto @@ -188,7 +188,7 @@ message Condition { // The reason for this condition. Depending on the condition type, // it will populate one of these fields. - // Successful conditions may not have a reason. + // Successful conditions cannot have a reason. oneof reasons { // A common (service-level) reason for this condition. CommonReason reason = 6; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto similarity index 80% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto index 0710afb7d071..04644caea61b 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution.proto @@ -34,8 +34,7 @@ option java_package = "com.google.cloud.run.v2"; // Cloud Run Execution Control Plane API. service Executions { option (google.api.default_host) = "run.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Gets information about an Execution. rpc GetExecution(GetExecutionRequest) returns (Execution) { @@ -54,8 +53,7 @@ service Executions { } // Deletes an Execution. - rpc DeleteExecution(DeleteExecutionRequest) - returns (google.longrunning.Operation) { + rpc DeleteExecution(DeleteExecutionRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" }; @@ -71,10 +69,13 @@ service Executions { message GetExecutionRequest { // Required. The full name of the Execution. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, + // where {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Execution" + } ]; } @@ -82,7 +83,8 @@ message GetExecutionRequest { message ListExecutionsRequest { // Required. The Execution from which the Executions should be listed. // To list all Executions across Jobs, use "-" instead of Job name. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -115,10 +117,13 @@ message ListExecutionsResponse { message DeleteExecutionRequest { // Required. The name of the Execution to delete. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution} + // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, + // where {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Execution" + } ]; // Indicates that the request should be validated without actually @@ -143,9 +148,8 @@ message Execution { // Output only. The unique name of this Execution. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Server assigned unique identifier for the Execution. The value - // is a UUID4 string and guaranteed to remain unchanged until the resource is - // deleted. + // Output only. Server assigned unique identifier for the Execution. The value is a UUID4 + // string and guaranteed to remain unchanged until the resource is deleted. string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A number that monotonically increases every time the user @@ -166,37 +170,31 @@ message Execution { // KRM-style annotations for the resource. map annotations = 5; - // Output only. Represents time when the execution was acknowledged by the - // execution controller. It is not guaranteed to be set in happens-before - // order across separate operations. - google.protobuf.Timestamp create_time = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the execution was acknowledged by the execution + // controller. It is not guaranteed to be set in happens-before order across + // separate operations. + google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Represents time when the execution started to run. // It is not guaranteed to be set in happens-before order across separate // operations. - google.protobuf.Timestamp start_time = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Represents time when the execution was completed. It is not - // guaranteed to be set in happens-before order across separate operations. - google.protobuf.Timestamp completion_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the execution was completed. It is not guaranteed to + // be set in happens-before order across separate operations. + google.protobuf.Timestamp completion_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For a deleted resource, the deletion time. It is only // populated as a response to a Delete request. - google.protobuf.Timestamp delete_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For a deleted resource, the time after which it will be // permamently deleted. It is only populated as a response to a Delete // request. - google.protobuf.Timestamp expire_time = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Set the launch stage to a preview stage on write to allow use of preview // features in that stage. On read, describes whether the resource uses @@ -207,19 +205,21 @@ message Execution { // Output only. The name of the parent Job. string job = 12 [ (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "run.googleapis.com/Job" } + (google.api.resource_reference) = { + type: "run.googleapis.com/Job" + } ]; - // Output only. Specifies the maximum desired number of tasks the execution - // should run at any given time. Must be <= task_count. The actual number of + // Output only. Specifies the maximum desired number of tasks the execution should + // run at any given time. Must be <= task_count. The actual number of // tasks running in steady state will be less than this number when // ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when // the work left to do is less than max parallelism. More info: // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ int32 parallelism = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Specifies the desired number of tasks the execution should - // run. Setting to 1 means that parallelism is limited to 1 and the success of + // Output only. Specifies the desired number of tasks the execution should run. + // Setting to 1 means that parallelism is limited to 1 and the success of // that task signals the success of the execution. // More info: // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -228,20 +228,17 @@ message Execution { // Output only. The template used to create tasks for this execution. TaskTemplate template = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Indicates whether the resource's reconciliation is still in - // progress. See comments in `Job.reconciling` for additional information on + // Output only. Indicates whether the resource's reconciliation is still in progress. + // See comments in `Job.reconciling` for additional information on // reconciliation process in Cloud Run. bool reconciling = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The Condition of this Execution, containing its readiness - // status, and detailed error information in case it did not reach the desired - // state. - repeated google.cloud.run.v2.Condition conditions = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The Condition of this Execution, containing its readiness status, and + // detailed error information in case it did not reach the desired state. + repeated Condition conditions = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The generation of this Execution. See comments in - // `reconciling` for additional information on reconciliation process in Cloud - // Run. + // Output only. The generation of this Execution. See comments in `reconciling` for + // additional information on reconciliation process in Cloud Run. int64 observed_generation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The number of actively running tasks. diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/execution_template.proto diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto similarity index 94% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto index 8a158296ae4b..b5331f08b73d 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/job.proto @@ -106,7 +106,7 @@ service Jobs { }; } - // Get the IAM Access Control policy currently in effect for the given Job. + // Gets the IAM Access Control policy currently in effect for the given Job. // This result does not include any inherited policies. rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { @@ -137,7 +137,8 @@ service Jobs { // Request message for creating a Job. message CreateJobRequest { // Required. The location and project in which this Job should be created. - // Format: projects/{project}/locations/{location} + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -160,7 +161,8 @@ message CreateJobRequest { // Request message for obtaining a Job by its full name. message GetJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -187,7 +189,8 @@ message UpdateJobRequest { // Request message for retrieving a list of Jobs. message ListJobsRequest { // Required. The location and project to list resources on. - // Format: projects/{project}/locations/{location} + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -219,7 +222,8 @@ message ListJobsResponse { // Request message to delete a Job by its full name. message DeleteJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -239,7 +243,8 @@ message DeleteJobRequest { // Request message to create a new Execution of a Job. message RunJobRequest { // Required. The full name of the Job. - // Format: projects/{project}/locations/{location}/jobs/{job} + // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} + // can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -331,7 +336,7 @@ message Job { google.api.LaunchStage launch_stage = 14; // Settings for the Binary Authorization feature. - google.cloud.run.v2.BinaryAuthorization binary_authorization = 15; + BinaryAuthorization binary_authorization = 15; // Required. The template used to create executions for this Job. ExecutionTemplate template = 16 [(google.api.field_behavior) = REQUIRED]; @@ -342,13 +347,13 @@ message Job { // Output only. The Condition of this Job, containing its readiness status, and // detailed error information in case it did not reach the desired state. - google.cloud.run.v2.Condition terminal_condition = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + Condition terminal_condition = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Conditions of all other associated sub-resources. They contain // additional diagnostics information in case the Job does not reach its // desired state. See comments in `reconciling` for additional information on // reconciliation process in Cloud Run. - repeated google.cloud.run.v2.Condition conditions = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of executions created for this job. int32 execution_count = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto similarity index 92% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto index fac9952aeb2b..31c81bea1bb0 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/k8s.min.proto @@ -117,9 +117,9 @@ message Container { // ResourceRequirements describes the compute resource requirements. message ResourceRequirements { // Only memory and CPU are supported. Note: The only - // supported values for CPU are '1', '2', and '4'. Setting 4 CPU requires at - // least 2Gi of memory. - // The values of the map is string form of the 'quantity' k8s type: + // supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU + // requires at least 2Gi of memory. The values of the map is string form of + // the 'quantity' k8s type: // https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go map limits = 1; @@ -169,7 +169,8 @@ message SecretKeySelector { ]; // The Cloud Secret Manager secret version. - // Can be 'latest' for the latest value or an integer for a specific version. + // Can be 'latest' for the latest version, an integer for a specific version, + // or a version alias. string version = 2 [(google.api.resource_reference) = { type: "secretmanager.googleapis.com/SecretVersion" }]; @@ -261,7 +262,8 @@ message VersionToPath { string path = 1 [(google.api.field_behavior) = REQUIRED]; // The Cloud Secret Manager secret version. - // Can be 'latest' for the latest value or an integer for a specific version. + // Can be 'latest' for the latest value, or an integer or a secret alias for a + // specific version. string version = 2; // Integer octal mode bits to use on this file, must be a value between @@ -322,12 +324,16 @@ message Probe { oneof probe_type { // HTTPGet specifies the http request to perform. - // Exactly one of HTTPGet or TCPSocket must be specified. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. HTTPGetAction http_get = 5; // TCPSocket specifies an action involving a TCP port. - // Exactly one of HTTPGet or TCPSocket must be specified. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. TCPSocketAction tcp_socket = 6; + + // GRPC specifies an action involving a gRPC port. + // Exactly one of httpGet, tcpSocket, or grpc must be specified. + GRPCAction grpc = 7; } } @@ -352,5 +358,18 @@ message HTTPHeader { // TCPSocketAction describes an action based on opening a socket message TCPSocketAction { // Port number to access on the container. Must be in the range 1 to 65535. + // If not specified, defaults to 8080. int32 port = 1; } + +// GRPCAction describes an action involving a GRPC port. +message GRPCAction { + // Port number of the gRPC service. Number must be in the range 1 to 65535. + // If not specified, defaults to 8080. + int32 port = 1; + + // Service is the name of the service to place in the gRPC HealthCheckRequest + // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If + // this is not specified, the default behavior is defined by gRPC. + string service = 2; +} diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto similarity index 96% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto index 5980d31ed1bc..bf5b4e90458f 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision.proto @@ -221,11 +221,11 @@ message Revision { ]; // Scaling settings for this revision. - google.cloud.run.v2.RevisionScaling scaling = 12; + RevisionScaling scaling = 12; // VPC Access configuration for this Revision. For more information, visit // https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 13; + VpcAccess vpc_access = 13; // Sets the maximum number of requests that each serving instance can receive. int32 max_instance_request_concurrency = 34; @@ -240,13 +240,13 @@ message Revision { // Holds the single container that defines the unit of execution for this // Revision. - repeated google.cloud.run.v2.Container containers = 17; + repeated Container containers = 17; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 18; + repeated Volume volumes = 18; // The execution environment being used to host this Revision. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; + ExecutionEnvironment execution_environment = 20; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to @@ -262,7 +262,7 @@ message Revision { // Output only. The Condition of this Revision, containing its readiness status, and // detailed error information in case it did not reach a serving state. - repeated google.cloud.run.v2.Condition conditions = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The generation of this Revision currently serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto similarity index 91% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto index 7389986d7d80..f20fb5eb68a5 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/revision_template.proto @@ -42,11 +42,11 @@ message RevisionTemplate { map annotations = 3; // Scaling settings for this Revision. - google.cloud.run.v2.RevisionScaling scaling = 4; + RevisionScaling scaling = 4; // VPC Access configuration to use for this Revision. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 6; + VpcAccess vpc_access = 6; // Max allowed time for an instance to respond to a request. google.protobuf.Duration timeout = 8; @@ -59,13 +59,13 @@ message RevisionTemplate { // Holds the single container that defines the unit of execution for this // Revision. - repeated google.cloud.run.v2.Container containers = 10; + repeated Container containers = 10; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 11; + repeated Volume volumes = 11; // The sandbox environment to host this Revision. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 13; + ExecutionEnvironment execution_environment = 13; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto similarity index 94% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto index 5c3a05ae4b3b..2357a35b92c4 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/service.proto @@ -158,8 +158,8 @@ service Services { // Request message for creating a Service. message CreateServiceRequest { // Required. The location and project in which this service should be created. - // Format: projects/{project}/locations/{location} - // Only lowercase characters, digits, and hyphens. + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. Only lowercase characters, digits, and hyphens. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -171,7 +171,7 @@ message CreateServiceRequest { Service service = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The unique identifier for the Service. It must begin with letter, - // and may not end with hyphen; must contain fewer than 50 characters. + // and cannot end with hyphen; must contain fewer than 50 characters. // The name of the service becomes {parent}/services/{service_id}. string service_id = 3 [(google.api.field_behavior) = REQUIRED]; @@ -198,8 +198,9 @@ message UpdateServiceRequest { // Request message for retrieving a list of Services. message ListServicesRequest { // Required. The location and project to list resources on. - // Location must be a valid GCP region, and may not be the "-" wildcard. - // Format: projects/{project}/locations/{location} + // Location must be a valid GCP region, and cannot be the "-" wildcard. + // Format: projects/{project}/locations/{location}, where {project} can be + // project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -231,7 +232,8 @@ message ListServicesResponse { // Request message for obtaining a Service by its full name. message GetServiceRequest { // Required. The full name of the Service. - // Format: projects/{project}/locations/{location}/services/{service} + // Format: projects/{project}/locations/{location}/services/{service}, where + // {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -243,7 +245,8 @@ message GetServiceRequest { // Request message to delete a Service by its full name. message DeleteServiceRequest { // Required. The full name of the Service. - // Format: projects/{project}/locations/{location}/services/{service} + // Format: projects/{project}/locations/{location}/services/{service}, where + // {project} can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -342,7 +345,7 @@ message Service { // Provides the ingress settings for this Service. On output, returns the // currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no // revision is active. - google.cloud.run.v2.IngressTraffic ingress = 15; + IngressTraffic ingress = 15; // The launch stage as defined by [Google Cloud Platform // Launch Stages](https://cloud.google.com/terms/launch-stages). @@ -351,7 +354,7 @@ message Service { google.api.LaunchStage launch_stage = 16; // Settings for the Binary Authorization feature. - google.cloud.run.v2.BinaryAuthorization binary_authorization = 17; + BinaryAuthorization binary_authorization = 17; // Required. The template used to create revisions for this Service. RevisionTemplate template = 18 [(google.api.field_behavior) = REQUIRED]; @@ -359,7 +362,7 @@ message Service { // Specifies how to distribute traffic over a collection of Revisions // belonging to the Service. If traffic is empty or not provided, defaults to // 100% traffic to the latest `Ready` Revision. - repeated google.cloud.run.v2.TrafficTarget traffic = 19; + repeated TrafficTarget traffic = 19; // Output only. The generation of this Service currently serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud @@ -372,13 +375,13 @@ message Service { // detailed error information in case it did not reach a serving state. See // comments in `reconciling` for additional information on reconciliation // process in Cloud Run. - google.cloud.run.v2.Condition terminal_condition = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; + Condition terminal_condition = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Conditions of all other associated sub-resources. They contain // additional diagnostics information in case the Service does not reach its // Serving state. See comments in `reconciling` for additional information on // reconciliation process in Cloud Run. - repeated google.cloud.run.v2.Condition conditions = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Name of the latest revision that is serving traffic. See comments in // `reconciling` for additional information on reconciliation process in Cloud @@ -402,7 +405,7 @@ message Service { // Output only. Detailed status information for corresponding traffic targets. See comments // in `reconciling` for additional information on reconciliation process in // Cloud Run. - repeated google.cloud.run.v2.TrafficTargetStatus traffic_statuses = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated TrafficTargetStatus traffic_statuses = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The main URI in which this Service is serving traffic. string uri = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto similarity index 96% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto index 86ed7cb955a2..0fa6b03b9d8d 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task.proto @@ -178,10 +178,10 @@ message Task { // Holds the single container that defines the unit of execution for this // task. - repeated google.cloud.run.v2.Container containers = 14; + repeated Container containers = 14; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 15; + repeated Volume volumes = 15; // Number of retries allowed per Task, before marking this Task failed. int32 max_retries = 16; @@ -198,7 +198,7 @@ message Task { string service_account = 18; // The execution environment being used to host this Task. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 20; + ExecutionEnvironment execution_environment = 20; // Output only. Indicates whether the resource's reconciliation is still in progress. // See comments in `Job.reconciling` for additional information on @@ -207,7 +207,7 @@ message Task { // Output only. The Condition of this Task, containing its readiness status, and // detailed error information in case it did not reach the desired state. - repeated google.cloud.run.v2.Condition conditions = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Condition conditions = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The generation of this Task. See comments in `Job.reconciling` // for additional information on reconciliation process in Cloud Run. @@ -235,7 +235,7 @@ message Task { // Output only. VPC Access configuration to use for this Task. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + VpcAccess vpc_access = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto similarity index 91% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto index ae7ee47af5fa..b5b43fba24a8 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/task_template.proto @@ -31,10 +31,10 @@ option java_package = "com.google.cloud.run.v2"; message TaskTemplate { // Holds the single container that defines the unit of execution for this // task. - repeated google.cloud.run.v2.Container containers = 1; + repeated Container containers = 1; // A list of Volumes to make available to containers. - repeated google.cloud.run.v2.Volume volumes = 2; + repeated Volume volumes = 2; oneof retries { // Number of retries allowed per Task, before marking this Task failed. @@ -53,7 +53,7 @@ message TaskTemplate { string service_account = 5; // The execution environment being used to host this Task. - google.cloud.run.v2.ExecutionEnvironment execution_environment = 6; + ExecutionEnvironment execution_environment = 6; // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to @@ -64,5 +64,5 @@ message TaskTemplate { // VPC Access configuration to use for this Task. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. - google.cloud.run.v2.VpcAccess vpc_access = 8; + VpcAccess vpc_access = 8; } diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto similarity index 100% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/traffic_target.proto diff --git a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto similarity index 98% rename from java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto rename to owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto index 89748d5c70dd..0ee74eafa86e 100644 --- a/java-run/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto +++ b/owl-bot-staging/java-run/v2/proto-google-cloud-run-v2/src/main/proto/google/cloud/run/v2/vendor_settings.proto @@ -41,7 +41,8 @@ message VpcAccess { } // VPC Access connector name. - // Format: projects/{project}/locations/{location}/connectors/{connector} + // Format: projects/{project}/locations/{location}/connectors/{connector}, + // where {project} can be project id or number. string connector = 1 [(google.api.resource_reference) = { type: "vpcaccess.googleapis.com/Connector" }]; diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/create/SyncCreateSetEndpoint.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecutionLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecutionLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecutionLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/AsyncDeleteExecutionLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionExecutionname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionExecutionname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionExecutionname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionExecutionname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/deleteexecution/SyncDeleteExecutionString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/AsyncGetExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/AsyncGetExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/AsyncGetExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/AsyncGetExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionExecutionname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionExecutionname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionExecutionname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionExecutionname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/getexecution/SyncGetExecutionString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutionsPaged.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutionsPaged.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutionsPaged.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/AsyncListExecutionsPaged.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsJobname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsJobname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsJobname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsJobname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executions/listexecutions/SyncListExecutionsString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/executionssettings/getexecution/SyncGetExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executionssettings/getexecution/SyncGetExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/executionssettings/getexecution/SyncGetExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/executionssettings/getexecution/SyncGetExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/create/SyncCreateSetEndpoint.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJobLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJobLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJobLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/AsyncCreateJobLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobLocationnameJobString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobLocationnameJobString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobLocationnameJobString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobLocationnameJobString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobStringJobString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobStringJobString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobStringJobString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/createjob/SyncCreateJobStringJobString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJobLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJobLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJobLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/AsyncDeleteJobLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobJobname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobJobname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobJobname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobJobname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/deletejob/SyncDeleteJobString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getiampolicy/SyncGetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/AsyncGetJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/AsyncGetJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/AsyncGetJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/AsyncGetJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobJobname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobJobname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobJobname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobJobname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/getjob/SyncGetJobString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobs.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobs.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobs.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobs.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobsPaged.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobsPaged.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobsPaged.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/AsyncListJobsPaged.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobs.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobs.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobs.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobs.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsLocationname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsLocationname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsLocationname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsLocationname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/listjobs/SyncListJobsString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJobLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJobLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJobLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/AsyncRunJobLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobJobname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobJobname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobJobname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobJobname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/runjob/SyncRunJobString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/setiampolicy/SyncSetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/testiampermissions/SyncTestIamPermissions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJobLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJobLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJobLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/AsyncUpdateJobLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJobJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJobJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJobJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobs/updatejob/SyncUpdateJobJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/jobssettings/getjob/SyncGetJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobssettings/getjob/SyncGetJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/jobssettings/getjob/SyncGetJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/jobssettings/getjob/SyncGetJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/create/SyncCreateSetEndpoint.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevisionLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevisionLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevisionLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/AsyncDeleteRevisionLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionRevisionname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionRevisionname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionRevisionname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionRevisionname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/deleterevision/SyncDeleteRevisionString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/AsyncGetRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/AsyncGetRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/AsyncGetRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/AsyncGetRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionRevisionname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionRevisionname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionRevisionname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionRevisionname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/getrevision/SyncGetRevisionString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisionsPaged.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisionsPaged.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisionsPaged.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/AsyncListRevisionsPaged.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsServicename.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsServicename.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsServicename.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsServicename.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisions/listrevisions/SyncListRevisionsString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/revisionssettings/getrevision/SyncGetRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisionssettings/getrevision/SyncGetRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/revisionssettings/getrevision/SyncGetRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/revisionssettings/getrevision/SyncGetRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/create/SyncCreateSetEndpoint.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateServiceLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateServiceLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateServiceLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/AsyncCreateServiceLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceLocationnameServiceString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceLocationnameServiceString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceLocationnameServiceString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceLocationnameServiceString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceStringServiceString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceStringServiceString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceStringServiceString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/createservice/SyncCreateServiceStringServiceString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteServiceLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteServiceLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteServiceLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/AsyncDeleteServiceLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceServicename.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceServicename.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceServicename.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceServicename.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/deleteservice/SyncDeleteServiceString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/AsyncGetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/AsyncGetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/AsyncGetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/AsyncGetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/SyncGetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/SyncGetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/SyncGetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getiampolicy/SyncGetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/AsyncGetService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/AsyncGetService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/AsyncGetService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/AsyncGetService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceServicename.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceServicename.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceServicename.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceServicename.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/getservice/SyncGetServiceString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServices.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServices.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServices.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServices.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServicesPaged.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServicesPaged.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServicesPaged.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/AsyncListServicesPaged.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServices.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServices.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServices.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServices.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesLocationname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesLocationname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesLocationname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesLocationname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/listservices/SyncListServicesString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/AsyncSetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/AsyncSetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/AsyncSetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/AsyncSetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/SyncSetIamPolicy.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/SyncSetIamPolicy.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/SyncSetIamPolicy.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/setiampolicy/SyncSetIamPolicy.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/AsyncTestIamPermissions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/AsyncTestIamPermissions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/AsyncTestIamPermissions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/AsyncTestIamPermissions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/SyncTestIamPermissions.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/SyncTestIamPermissions.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/SyncTestIamPermissions.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/testiampermissions/SyncTestIamPermissions.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateServiceLRO.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateServiceLRO.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateServiceLRO.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/AsyncUpdateServiceLRO.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateServiceService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateServiceService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateServiceService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/services/updateservice/SyncUpdateServiceService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/servicessettings/getservice/SyncGetService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/servicessettings/getservice/SyncGetService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/servicessettings/getservice/SyncGetService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/servicessettings/getservice/SyncGetService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/executionsstubsettings/getexecution/SyncGetExecution.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/executionsstubsettings/getexecution/SyncGetExecution.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/executionsstubsettings/getexecution/SyncGetExecution.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/executionsstubsettings/getexecution/SyncGetExecution.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/jobsstubsettings/getjob/SyncGetJob.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/jobsstubsettings/getjob/SyncGetJob.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/jobsstubsettings/getjob/SyncGetJob.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/jobsstubsettings/getjob/SyncGetJob.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/revisionsstubsettings/getrevision/SyncGetRevision.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/revisionsstubsettings/getrevision/SyncGetRevision.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/revisionsstubsettings/getrevision/SyncGetRevision.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/revisionsstubsettings/getrevision/SyncGetRevision.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/servicesstubsettings/getservice/SyncGetService.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/servicesstubsettings/getservice/SyncGetService.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/servicesstubsettings/getservice/SyncGetService.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/servicesstubsettings/getservice/SyncGetService.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/tasksstubsettings/gettask/SyncGetTask.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/tasksstubsettings/gettask/SyncGetTask.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/stub/tasksstubsettings/gettask/SyncGetTask.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/stub/tasksstubsettings/gettask/SyncGetTask.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/create/SyncCreateSetEndpoint.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/AsyncGetTask.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/AsyncGetTask.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/AsyncGetTask.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/AsyncGetTask.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTask.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTask.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTask.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTask.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskTaskname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskTaskname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskTaskname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/gettask/SyncGetTaskTaskname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasks.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasks.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasks.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasks.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasksPaged.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasksPaged.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasksPaged.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/AsyncListTasksPaged.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasks.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasks.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasks.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasks.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksExecutionname.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksExecutionname.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksExecutionname.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksExecutionname.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksString.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksString.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksString.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/tasks/listtasks/SyncListTasksString.java diff --git a/java-run/samples/snippets/generated/com/google/cloud/run/v2/taskssettings/gettask/SyncGetTask.java b/owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/taskssettings/gettask/SyncGetTask.java similarity index 100% rename from java-run/samples/snippets/generated/com/google/cloud/run/v2/taskssettings/gettask/SyncGetTask.java rename to owl-bot-staging/java-run/v2/samples/snippets/generated/com/google/cloud/run/v2/taskssettings/gettask/SyncGetTask.java